Sukka's Notebook
6.46K subscribers
160 photos
2 videos
1 file
504 links
The clacks from @SukkaW

<img onload='location.href="//skk.moe"' src=//cdn.skk.moe/favicon.ico?tgx>
<img src=//cdn.skk.moe/favicon.ico?tg>
<img src=x onerror='location.href="//skk.moe"'>
Download Telegram
今天英语课做 Presentation,苏卡卡洋洋洒洒做了十分钟关于 MH370 的演讲(
This media is not supported in your browser
VIEW IN TELEGRAM
#12306网站改版

11 月 3 日 12306 将会完成页面前端升级。
部分 CDN 已经刷新地区目前已经可见新版页面。

https://www.12306.cn/mormhweb/zxdt/201811/t20181102_19703.html
https://t.me/yscschan/6402
既照顾性能,又照顾 DNT 的一个 dirtyhack 是:
<script src="https://www.google-analytics.com/analytics.js" type="text/n-javascript" id="ga-js-tag"></script>
<script>
let dnt_ga = () => {
if (navigator.doNotTrack === '1') {} else {
document.getElementByID('ga-js-tag').setAttribute('type', 'text/javascript')
}
}

window.onload = () => {
dnt_ga()
}
</script>
https://t.me/SometimesMef/216
窝现在倾向于使用 JavaScript 方法,因为在前端实现,每个访客只需在自己的浏览器内执行一次,但如果交给后端,后端必须为每一个访客的每一个请求执行一次。
https://t.me/Tooruchan_TechComen/16403
https://t.me/ilemonrain_channel/1249

(() => {
let m = 4,
n = 999,
time = new Date('11.11'),
p = m * 1000 + n,
s = '小米笔记本 Air 13.3\' i5/8GB版';
console.log(`${s}${time}仅售${p}`)
})();
https://t.me/FoolishTraceWind/2677
可能是因为无法登陆就创建了一个新的账号从零开始2333
Forwarded from LWL 的基地台
LWL 的基地台
Photo
大家想起来澳航 72 航班的人机大战没有?
波音:强烈谴责空客间谍植入的防博南系统。
买了一块新的机械键盘,茶轴真棒(
(function() {
if (document.referrer && document.location.host && document.referrer.match(new RegExp("^https?://" + document.location.host))) {
El.setAttribute("href", document.referrer);
}
})();


一个返回上一页的 JS 写法,兼容性更好。
Forwarded from 荔枝木
今天是世界科学日!