Skip to content

Instantly share code, notes, and snippets.

View AndreLion's full-sized avatar
🎵
NP: 清塘荷韵 (声音玩具) (0:04/5:20)

Andre AndreLion

🎵
NP: 清塘荷韵 (声音玩具) (0:04/5:20)
View GitHub Profile
(function(){
var key = localStorage.wpt_key;
if (!key) {
var prompt = window.__proto__.prompt;
key = prompt('Your WebPagetest API key, please?');
if (!key) {
return gameOver();
}
localStorage.wpt_key = key;
{"sig":"555b05d652a7ad1cd6ba3b6facdae398d3aca3628ea5e753d67862a9046adda81b6e21809012452b375d7c80935d5f0d006b5711184e081e65359d798d831bb20","msghash":"f4581126ec0a3f9299fab2cfb0358136cd6f0f8f0ff665adf24933fb3da2e219"}
@AndreLion
AndreLion / shortcut.js
Last active January 15, 2020 15:50
轻单JK快捷键
(function(){
var style = document.createElement('style');
style.innerHTML = '.container ol.items li .title[shortcut] { border-color:#66afe9;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6); }';
document.head.appendChild(style);
var length = document.querySelector('ol.items').children.length;
var index = 0;
var inc = function(){
return index >= length ? index = length : index++;
}
@AndreLion
AndreLion / anyinject_demo.json
Last active April 12, 2022 09:31
hello world demo of #anyinject
{}