Firefox userChrome.js greasemonkeyスクリプトスレ11
at SOFTWARE
748:名無しさん@お腹いっぱい。
10/03/16 13:28:36 uF91k2QU0
// ==UserScript==
// @name AmazonRemoveMargin
// @namespace URLリンク(d.hatena.ne.jp)
// @author プヨぷよ
// @include URLリンク(www.amazon.co.jp)
// @include URLリンク(www.amazon.com)
// @description イメージを拡大 のあとに表示される画像を余白がつかない画像にする
// ==/UserScript==
(function () {
var img = document.getElementById("prodImage");
if (img) {
img.src = img.src.replace(/\._[^_]+_/, "");
//ie系でリンクを貼る場合(キャッシュ対策)
//var link = document.createElement("a");
//link.href = img.src;
//img.applyElement(link, "outside");
}
})();
SleipnirでAmazonのイメージの余白削除スクリプトを使っているのですが、これをGreasemonkeyで使うにはどうすればよいでしょうか?
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5159日前に更新/235 KB
担当:undef