この広告は、90日以上更新していないブログに表示しています。
(2010.01.28追記)古い記事なのでもっといいアドオンとかがいっぱいある気がします。
夏休みで暇だし!ごめん嘘、現実逃避!!
入れてるスクリプトは以下にまとめた。
Userchrome.jsのスクリプトの使い方はこの辺で。
Firefoxを鍛え直せ! フォクすけブートキャンプ:第4日目:クラフトマンシップを持て——userChrome.js - ITmedia エンタープライズ
そして、上のURIに書き換えるやつを流用してLDR上のクリップブラウザにもURIを表示させるようにした自作スタイルシートがこれ。
/*Name: LDRクリップブラウザにURIを表示URI:http://d.hatena.ne.jp/jumitaka */@-moz-document domain("reader.livedoor.com") {ul#ldcbrowser_items a::after{ visibility: visible ; content: attr(href) ;}span.clip-count{visibility: hidden !important; }span.clip-count a::after {visibility: hidden !important;}
Vimperatorの環境ファイルの事をすっかり忘れていた…
とりあえず、コピペで成り立ってる感じだけど貼っとく。
その前に入れてるスクリプトは…
" 0.5.3 (created: 2007/12/21 19:26:07)set guioptions=T" vim: set ft=vimperator:" ニコ動" :autocmd PageLoad .* :js modes.passAllKeys = /www\.nicovideo\.jp\/watch/.test(buffer.URL)" titleset titlestring=Firefoxset wildoptions=autoset complete=sl" 開いているページがひとつだけならタブを非表示にするset showtabline=1"ビープ音を鳴らさないset visualbell" bhgset complete=slset ds=ggle" ]]/[[ にヒットする文字列追加set nextpattern+=次(の)?ページ,→\b,下一頁,Следующая,다음,次へset previouspattern+=prev, 前(の)?ページ,\b前.*,\b←,前へ" 選択文字列ののコピーを <C-c> に割り当てmap <C-c> :echo Yank!<CR>Y" j/k でのスクロール幅を1行から3行に変更map j 3<C-e>map k 3<C-y>" Backspace に戻るを割り当てmap <BS> <A-Left>map <S-BS> <A-Right>" h/l に戻るや進むを割り当てmap H <A-Left>map L <A-Right>" ← → でタブ移動map <Left> gTmap <Right> gt" Shift + ← → で現在のタブの位置変更map <S-Right> :tabmove! +1<CR>map <S-Left> :tabmove! -1<CR>map l gtmap h gTmap x :q<CR>map m omap M Omap <M-t> :twitter<space>map <C-c> :copy<CR>map <M-;> :m<space>map ,ni :nicoinfo<CR>map ,np :nicopause<CR>map ,nm :nicomute<CR>map ,nv :nicommentvisible<CR>map ,nz :nicosizemap ,ns :nicoseekmap ,mn :matanico<CR>" ***ldrize_cooperation.js***let g:ldrc_captureMappings = "['j','k','p','o','?']"let g:ldrc_intelligence_bind = "true"let g:ldrc_skip = "0.15""map ,l :toggleldrc<CR>map a :viewSBMComments<CR>let g:def_sbm_format = "id,timestamp,tagsAndComment"map b :sbm<space>let g:direct_sbm_use_services_by_tag = "h" let g:direct_sbm_use_services_by_post = "h"" ***copy.js***javascript <<EOMliberator.globalVariables.copy_templates = [{ label: 'titleAndURL', value: '%TITLE% %URL%' },{ label: 'titleLfURL', value: '%TITLE%\n%URL%', map: '<C-C>' },{ label: 'title', value: '%TITLE%' },{ label: 'hatena', value: '[%URL%:title=%TITLE%]' },{ label: 'hatenacite', value: '>%URL%:title=%TITLE%>\n%SEL%\n<<' },{ label: 'markdown', value: '[%SEL%](%URL% "%TITLE%")' },{ label: 'htmlblockquote', value: '<blockquote cite="%URL%" title="%TITLE%">%HTMLSEL%</blockquote>' }];EOM" ***feedSomeKeys.js***autocmd LocationChange .* :fmapc" Tumblr (要ReblogCommand)autocmd LocationChange http://.*\.tumblr\.com/ :fmap i tjautocmd LocationChange http://.*\.tumblr\.com/ :fmap e tj" favotter (要Twit Fav command Minibuffer)autocmd LocationChange http://favotter\.matope\.com/ :fmap f F" Gmailjs <<EOFautocommands.add('LocationChange',/mail\.google\.com\/(mail|a)\//,[ 'js plugins.feedKey.setup(', '"c / y j k n p o u e x s r a # [ ] z ? gi gs gt gd ga gc".split(/ +/).map(function(i) [i, "4" + i])', ');'].join(''));EOF" livedoor Reader/Fastladder/OpenFLjs <<EOFautocommands.add('LocationChange',/reader\.livedoor\.com\/reader\//, 'js plugins.feedKey.setup("j k s a p o v c e <Space> <S-Space> z Z < > q w i f u n y B N T <BS> <Del>".split(/ +/));');EOFjs <<EOFautocommands.add('LocationChange',/(fastladder\.com|0\.0\.0\.0\:3000)\/reader\//, 'js plugins.feedKey.setup("j k s a p v c e <Space> <S-Space> z Z < > q w ".split(/ +/));');EOFautocmd LocationChange http://(reader\.livedoor\.com|fastladder\.com|0\.0\.0\.0\:3000)/reader/ :fmap v vjautocmd LocationChange (?!http://(reader\.livedoor\.com|fastladder\.com|0\.0\.0\.0\:3000)/reader/) :set! browser.tabs.loadDivertedInBackground=falseautocmd LocationChange http://(reader\.livedoor\.com|fastladder\.com|0\.0\.0\.0\:3000)/reader/ :set! browser.tabs.loadDivertedInBackground=trueautocmd LocationChange http://(reader\.livedoor\.com|fastladder\.com|0\.0\.0\.0\:3000)/reader/ :fmap f gautocmd LocationChange http://(reader\.livedoor\.com|fastladder\.com|0\.0\.0\.0\:3000)/reader/ :fmap T t" Reblog用 (要tombloo.xpi)autocmd LocationChange http://fastladder\.com/reader/ :fmap i Tautocmd LocationChange http://fastladder\.com/reader/ :fmap e T" ======================================================================" ステータスバーにfeedボタンを表示" http://d.hatena.ne.jp/teramako/20071205/p1js <<EOM(function(){ var feedPanel = document.createElement('statusbarpanel'); var feedButton = document.getElementById('feed-button'); feedPanel.setAttribute('id','feed-panel-clone'); feedPanel.appendChild(feedButton.cloneNode(true)); feedButton.parentNode.removeChild(feedButton); document.getElementById('status-bar').insertBefore(feedPanel,document.getElementById('security-button'));})();EOM" wildoption=auto でウザいmap対策" http://unsigned.g.hatena.ne.jp/Trapezoid/20080620/1213961754js <<EOM[ ['<S-Right>',':tabmove! -1'], ['<S-Left>',':tabmove! +1'], ['a',':viewSBMComments'],['b',':sbm'],].forEach(function([key,command]){ liberator.mappings.addUserMap([liberator.modes.NORMAL], [key], "User defined mapping", function () { liberator.execute(command); }, { rhs: key, noremap: true });});EOM
いじょーです。
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。