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 bdhold-autoselect | |
// @namespace bdhold-autoselect | |
// @version 0.4 | |
// @reason add qiang-btn support | |
// @author mescoda on http://mescoda.com/ | |
// @description auto select for hold.baidu.com | |
// @include http://hold.baidu.com | |
// @include http://hold.baidu.com/* | |
// @grant GM_xmlhttpRequest |
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 zhihu-position | |
// @namespace zhihu-position | |
// @version 0.1 | |
// @author Mescoda on http://mescoda.com/ | |
// @description zhihu position | |
// @include http://www.zhihu.com/* | |
// @grant GM_xmlhttpRequest | |
// ==/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
// ==UserScript== | |
// @name toggl-helper | |
// @namespace toggl-helper | |
// @version 0.3.1 | |
// @author mescoda on http://mescoda.com/ | |
// @include https://toggl.com/app/timer | |
// @grant unsafeWindow | |
// ==/UserScript== | |
document.body.addEventListener('keyup', function (e) { |
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 r = []; | |
[].forEach.call(document.getElementsByTagName('blockquote'), function (item) { | |
var text = item.innerHTML.trim(); | |
if (text.indexOf('magnet') > -1 || text.indexOf('ed2k') > -1) { | |
r.push(text); | |
} | |
}); | |
r.forEach(function (item, index) { | |
console.log(item); |
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 smzdm-helper | |
// @namespace smzdm-helper | |
// @version 0.2 | |
// @author mescoda on http://mescoda.com/ | |
// @include http://*.smzdm.com/* | |
// @grant unsafeWindow | |
// ==/UserScript== | |
var hide = function () { |