Speedtests files download.
Linux Mirror originated from LeaseWeb & Hosted by Cloudflare.
| javascript:(function(){var cfAllowEl=document.querySelectorAll('td[data-label="Action Taken"]');for(let i of cfAllowEl){if(i.innerHTML==='allow'){i.parentNode.style.display='none'}}})(); |
| javascript:(function(){var doc=document,body=document.body;with(body.onselectstart=body.oncopy=body.onpaste=body.onkeydown=body.oncontextmenu=body.onmousemove=body.ondragstart=document.onselectstart=document.oncopy=document.onpaste=document.onkeydown=document.oncontextmenu=null,document.onselectstart=document.onkeydown=document.oncontextmenu=document.onmousedown=function(){return!0},document.wrappedJSObject||document)onmouseup=null,onmousedown=null,oncontextmenu=null;for(var arAllElements=document.getElementsByTagName("*"),i=arAllElements.length-1;i>=0;i--){var elmOne=arAllElements[i];with(elmOne.style.userSelect="initial",elmOne.style.pointerEvents="initial",elmOne.wrappedJSObject||elmOne)onmouseup=null,onmousedown=null}body.style.webkitUserSelect="auto!important",body.style.MozUserSelect="normal!important",alert("已经解除右键和复制限制!")})(); |
| if (!window.$) { | |
| var script = document.createElement('script'); | |
| script.src = "https://cdn.bootcss.com/jquery/1.12.1/jquery.min.js"; | |
| document.body.appendChild(script); | |
| } | |
| //配置信息开始,使用按需修改 | |
| //播放公网视频(非校园网设置),如需要播放校园网视频将true改成false | |
| var use_external_network = true; | |
| //视频是否静音 |
| { | |
| "AMS": { | |
| "name": "Amsterdam, Netherlands", | |
| "cnName": "荷兰阿姆斯特丹" | |
| }, | |
| "ATH": { | |
| "name": "Athens, Greece", | |
| "cnName": "希腊雅典" | |
| }, | |
| "BCN": { |
| var isSupportWebp = !![].map && document.createElement('canvas').toDataURL('image/webp').indexOf('data:image/webp') == 0; | |
| var WebpName = "!/format/webp"; | |
| if (isSupportWebp) { | |
| for (var i = 0; i < document.querySelectorAll("div[data-bg]").length; i += 1) { | |
| var originSrc = document.querySelectorAll("div[data-bg]")[i].getAttribute('data-bg'), | |
| newSrc = originSrc.replace(/((.png)|(.jpg)|(.jpeg))/g, '$1' + WebpName); | |
| document.querySelectorAll("div[data-bg]")[i].setAttribute('data-bg', newSrc) | |
| } |
| #!/usr/bin/env php | |
| <?php | |
| // FIXME: Make this a proper app with unit-tests | |
| require_once 'simple_html_dom.php'; | |
| exit(main($argv)); | |
| /** | |
| * Scan a series of files for suspicious code | |
| * | |
| * example: find templates -name '*.tpl' | xargs php tools/scripts/tpl-lint | |
| * |
| /*! | |
| * return-prev.js | |
| * Author: SukkaW (https://skk.moe) | |
| * License: MIT | |
| * | |
| * @param {Object} Element selector for link | |
| */ | |
| (function(El) { | |
| if (document.referrer && document.location.host && document.referrer.match(new RegExp("^https?://" + document.location.host))) { |
| importScripts('https://cdn.jsdelivr.net/npm/[email protected]/workbox/workbox-sw.js'); | |
| workbox.setConfig({ | |
| modulePathPrefix: 'https://cdn.jsdelivr.net/npm/[email protected]/workbox/' | |
| }); |
| /* no-disq.us.js | |
| * Author: Sukka (https://skk.moe) | |
| * License: MIT | |
| * Part of DisqusJS (https://suka.js.org/DisqusJS) | |
| * | |
| * @param {string} msg - 传入需要处理的 Disqus Comment rawMessage | |
| * @return {string} - 解析完 disq.us 后的 Message | |
| */ | |
| let removeDisqUs = (msg) => { | |
| // aMatcher - 只处理 Disqus 短链接 |