通常使用 Firefox 時要分享網頁到 Twitter,我是可以滴手不沾 trackpad/mouse 的,用的是一個官方老舊的 bookmarklet,配上 keyword (我的是 tt),就可以使用連續技: Alt-D
, tt
, Enter
。最近發現這 bookmarklet 硬是沒有網頁 title (事實上官方網頁也沒有了),於是手寫一個:
javascript:void((()=> {
var F=document,E=encodeURIComponent;
window.open(`https://twitter.com/intent/tweet/?text=${E(F.title)}&url=${E(F.location.href)}`);
})());
[raw]Share Backported。
PS2. Alt-D
in windows, Cmd-L
in Mac.
Likes
Mentions