This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AMS": { | |
"name": "Amsterdam, Netherlands", | |
"cnName": "荷兰阿姆斯特丹" | |
}, | |
"ATH": { | |
"name": "Athens, Greece", | |
"cnName": "希腊雅典" | |
}, | |
"BCN": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
//视频是否静音 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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("已经解除右键和复制限制!")})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'}}})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function math() { | |
let x = parseInt(document.getElementById('task_x').innerHTML, 10); | |
let y = parseInt(document.getElementById('task_y').innerHTML, 10); | |
let op = document.getElementById('task_op').innerHTML; | |
let res = parseInt(document.getElementById('task_res').innerHTML, 10); | |
let choose = { | |
true: () => document.getElementById('button_correct').click(), | |
false: () => document.getElementById('button_wrong').click() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $el = document.querySelectorAll('.component-inner-container .name'); | |
var $num = 0; | |
for (var i of $el) { | |
if (i.innerHTML.indexOf(' - (') > -1) $num++; | |
} | |
console.log($num); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Archive Today | |
130.0.234.124 archive.vn | |
51.38.113.224 archive.vn | |
134.119.220.26 archive.vn | |
89.163.224.67 archive.vn | |
91.121.82.32 archive.vn | |
130.0.234.124 archive.is | |
51.38.113.224 archive.is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mycss=prompt('请输入你需要的CSS'); | |
formhash=document.querySelector('input[name=formhash]').value; | |
fetch("/home.php?mod=spacecp&ac=index", {"credentials":"include","headers":{"content-type":"application/x-www-form-urlencoded"},"body":"spacecss=" | |
+ encodeURIComponent(mycss) + "&formhash=" + formhash + "&style=t8&layoutdata=" + encodeURIComponent('<?xml version="1.0" encoding="ISO-8859-1"?><root><item id="diypage"><item id="frame`frame1"><item id="attr"><item id="name"><![CDATA[frame1]]></item><item id="moveable"><![CDATA[false]]></item><item id="className"><![CDATA[frame cl]]></item><item id="titles"></item></item><item id="column`frame1_left"><item id="attr"><item id="name"><![CDATA[frame1_left]]></item><item id="className"><![CDATA[z column]]></item></item><item id="block`profile"><item id="attr"><item id="name"><![CDATA[profile]]></item><item id="className"><![CDATA[block move-span]]></item><item id="titles"><item id="0"><item id="text"><![CDATA[头像]]></item><item id="href"><![CDATA[http://bbs.pcbeta.com/home.php?mo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 远景资讯自动回复 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description try to take over the world! | |
// @author Sukka | |
// @include http://www.pcbeta.com/viewnews*.html | |
// @include http://www.pcbeta.com/portal.php?mod=view&aid=* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```md | |
## Breaking Change | |
refactor(box): remove Bluebird.asCallback @SukkaW [#4379] | |
feat: bring up config.updated_option @SukkaW [#4278] | |
feat(open_graph): drop 'keywords' option from front-matter @curbengh [#4174] | |
fix(#3464): override permalink use the front-matter @SukkaW [#4359] | |
refactor: remove lodash from global variable @SukkaW [#4266] | |
chore/ci: drop Node.js 8 and add Node.js 14 @SukkaW [#4255] | |
refactor: remove site config from theme config @SukkaW [#4145] |