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 QiitaUrlCleaner | |
// @version 1 | |
// @grant none | |
// @include *://qiita.com/*/items/* | |
// ==/UserScript== | |
(function(doc) { | |
if(doc.location.search) { | |
history.replaceState(null, "Qiita URL Cleaner", doc.location.pathname); |
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
// これ ( https://gist.github.com/tetsutan/1308985 ) のスタンドアロン版 | |
// oneliner | |
// document.querySelectorAll("tbody .checkbox input[type=checkbox]:checked").forEach(function(n){ var href = n.parentNode.parentNode.querySelector(".id a").href; if(href){ window.open(href); } }); | |
var checkboxes = document.querySelectorAll("tbody .checkbox input[type=checkbox]:checked"); | |
for(var i=0; i<checkboxes.length; i++){ | |
var checkbox = checkboxes[i]; | |
var href = checkbox.parentNode.parentNode.querySelector(".id a").href; | |
if(href){ | |
window.open(href) |
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 YukarinFanclubVisualVideoMakeLarger | |
// @namespace com.eckrel.yukarin_fanclub_visual_video_make_larger | |
// @include https://www.mellowpretty.com/p/visual/ | |
// @include https://www.mellowpretty.com/p/photo_gallery/ | |
// @version 2 | |
// @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
// ==UserScript== | |
// @name HatenaKeywordDisabler | |
// @namespace com.eckrel.hatenakeyworddisabler | |
// @include http://*.hatelabo.jp/* | |
// @include http://*.hatena.ne.jp/* | |
// @include https://*.hatelabo.jp/* | |
// @include https://*.hatena.ne.jp/* | |
// @version 1.1 | |
// @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
// ==UserScript== | |
// @name Redmine open all | |
// @namespace com.eckrel.redmine | |
// @include * | |
// @version 1.0.0 | |
// @grant none | |
// ==/UserScript== | |
(function(){ |
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
// 今月のフリープレイのページへいって | |
// このJSをデベロッパーコンソールなどから実行する | |
// カートが10こまでしか入らないので、何度か実行する必要があるかも | |
// one line | |
// (function(){ var selector = "button.grid-cell__add-to-cart-button"; var elements = $(selector).slice(0, 10); var next = function(index){ var el = elements[index]; if(!el){ $(".fa-shopping-cart").trigger("click"); return; } $(el).trigger("click"); setTimeout(function(){ var close = $(".modal-dialog .modal-dialog__close"); if(!close[0]){ setTimeout(arguments.callee, 500); return; } close.trigger("click"); setTimeout(function(){ next(index+1); }, 100); }, 100); }; next(0); })(); | |
(function(){ | |
var selector = "button.grid-cell__add-to-cart-button"; |
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
diff --git .vimperator/plugin/hatenabookmark.js .vimperator/plugin/hatenabookmark.js | |
index 23e385c..429da91 100644 | |
--- .vimperator/plugin/hatenabookmark.js | |
+++ .vimperator/plugin/hatenabookmark.js | |
@@ -60,8 +60,8 @@ liberator.plugins.hBookmark = (function() { | |
let bangFunction; | |
let bangFunctions = { | |
- openNewTab: function(url) { | |
- let url = plugin.command.genURL(url); |
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
git ls-files | egrep -v "^apps|^gradle|assets"| xargs -I {} dirname {} | sort | uniq | sed -e "s;^;$'$PWD/;" | sed -e "s;$;';" >> ~/.zsh/.chpwd-recent-dirs |
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 ldr_z_function | |
// @namespace knell | |
// @include http://reader.livedoor.com/* | |
// @include http://fastladder.com/reader/* | |
// ==/UserScript== | |
(function (){ | |
window.addEventListener("keypress", function (e) { | |
if(e.charCode == 122 || e.keyCode == 90){ // z key | |
setTimeout(function(){ |
NewerOlder