This file contains hidden or 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 Remove HatenaBookmark Blockquote | |
// @namespace hatena | |
// @include http://b.hatena.ne.jp/* | |
// ==/UserScript== | |
var quotes = document.getElementsByTagName("BlockQuote") | |
for(var i = 0; i < quotes.length; i++) { | |
quotes[i].style.display = "none"; | |
} |
This file contains hidden or 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
#!/usr/bin/ruby | |
# -*- mode: ruby; encoding: utf-8-unix -*- | |
require 'tmpdir' | |
origdir = Dir::pwd | |
target = File.expand_path(ARGV[0]) | |
dir = File::dirname(target) | |
rar = File::basename(target) |
NewerOlder