アドオン
- PrefBar
- NewTab - 新しいウインドウで開く属性のついているリンクをクリックしたときに、新しいタブを開くかどうか
- Type: Pref Check
- Id: newtabonoff
- Label: NewTab
- Prefstring: browser.link.open_newwindow
- toPref: (2*Number(value)+1)
- fromPref: Boolean((value-1)/2)
- Hotkey: (disabled)
- Menu - コンテキストメニューの許可
- Type: Pref Check
- id: contextmenu
- Label: Menu
- Prefstring: dom.event.contextmenu.enabled
- toPref: value
- fromPref: value
- Hotkey: (disabled)
about:config
- Internet Keywords - ロケーションバーに入れたキーワードに関連するページに飛ぶ機能を無効にする
- Domain Guessing - ロケーションバーに入れた URL が見つからない時、自動的に www. や .com などをつける機能を無効にする
- browser.fixup.alternate.enabled = false
ブックマークレット
- Google 英語 - Google の検索結果を英語表示にする、または、Google の英語ページに移動する
javascript:if(location.href.match(/http:\/\/www\.google\.com\//)||location.href.match(/http:\/\/www\.google\.co\.jp\//))location.href=location.href+"&hl=en&lr=";else%20location.href="http"+"://www.google.com/intl/en/";
- Google Search がページ遷移をしないようになってから、うまく動いていない。
- ニコニコ動画観賞 - ログインせずにニコニコ動画を鑑賞する。ニコニコ動画またははてなブックマークのページを表示している時に使用する。要 Referer
javascript:%28function%28%29{var%20s=document.createElement%28%22script%22%29;s.src=%22http://ext.nicovideo.jp/thumb_watch/%22+location.href.replace%28new%20RegExp%28%22.*/%22%29,%22%22%29;document.body.appendChild%28s%29}%29%28%29;
- 今は http://d.hatena.ne.jp/video/niconico/ で見られるので意味ないか?
- YouTube リンク変換 - みんカラの埋め込み YouTube を YouTube へのリンクに変換し、ページ先頭に追加する。改良の余地あり。
javascript:(function(){var%20o="";var%20a=document.getElementsByTagName('param');var%20i;for(i=0;i<a.length;i++){var%20u=a[i].getAttribute('value');if(u.indexOf("http://")==0){o=o+"<a%20href="+u.replace(/\?.*/,"").replace(/\/v\//,"/watch?v=")+">YouTube</a>";}}document.body.innerHTML=o+document.body.innerHTML;focus();})();
- YouTube リンク変換改良 - embed にしてみた
javascript:(function(){var%20o="";var%20a=document.getElementsByTagName('embed');var%20i;for(i=0;i<a.length;i++){var%20u=a[i].getAttribute('src');if(u.indexOf("http://")==0){o=o+"<a%20href="+u.replace(/\?.*/,"").replace(/\/v\//,"/watch?v=")+">YouTube</a>";}}document.body.innerHTML=o+document.body.innerHTML;focus();})();
- YouTube の動画部分を embed にする
javascript:a=document.getElementsByTagName('meta');for(i=0;i<a.length;i++)if(a[i].name=='twitter:player'){x=a[i].getAttribute("content");a=document.getElementsByTagName('div');for(i=0;i<a.length;i++)if(a[i].id=='movie_player')a[i].innerHTML='<iframe%20src='+x+'?rel=0%20style=width:100%25;height:100%25;>';break;}focus();
- a タグの onmousedown を消す (Google 検索結果のリンク先コピー用)
javascript:a=document.getElementsByTagName('a');for(i=0;i<a.length;i++)a[i].onmousedown="";focus();
|
|