Vimperator3.0で Gmail Thisボタンを追加!
赤いGmailのアイコンをステータスバーに追加します。
Gmail This は
こことか
気になるページをGmailで送信「Gmail This」ブックマークレット
ここで
Add a "Gmail This" Bookmarklet to Your Browser - About Email
紹介されていますが、見ているページをGmailで送るボタンです。
.vimperatorrc
" add Gmail this Button on StatusBar :javascript << EOF (function(){ const icon = "data:image/png;base64," +"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAhklEQVR42tWQsQ3AIBADGYtZ2IZp" +"2IBhUtKlTZfqwyNAhvyjpIpiyRX2YTDm/9qspebDezpDWJoz2BkAbIqRVOWzOW/w9t05HVLLnMEV" +"HcBSIVOZJQJEiFBeAriAkKEMq2RASuWnEYLlcpYzMqCVa6A9B2dj5gaYy6oqRFzwWNqCN+6Az3UB" +"B5Yi+/miAhQAAAAASUVORK5CYII=" var bookmarklet = "javascript:(function(){m='http://mail.google.com/mail/?view=cm&fs=1&tf=1&to=&su='+encodeURIComponent(document.title)+'&body='+encodeURIComponent(document.location);w=window.open(m,'addwindow','status=no,toolbar=no,width=575,height=545,resizable=yes');setTimeout(function(){w.focus();},%20250);})();"; var listener = function(){ liberator.open(bookmarklet); } var StatusBarPanel = document.createElement('statusbarpanel'); StatusBarPanel.setAttribute('id','gmail-this-button-clone'); StatusBarPanel.setAttribute('class','statusbarpanel-iconic'); StatusBarPanel.setAttribute('src',icon); StatusBarPanel.addEventListener('click',listener,true); document.getElementById('status-bar').insertBefore(StatusBarPanel, document.getElementById('RIL_offlineProgress')); })(); EOF