opera:hige このページをアンテナに追加

 | 

2006-04-08

[]mailto:リンクをGmail02:31 mailto:リンクをGmailで - opera:hige を含むブックマーク はてなブックマーク - mailto:リンクをGmailで - opera:hige

Gmail with Opera - opera:hige - チーム俺等の発展。

menu.iniの[Mailto Link Popup Menu]に以下を追加。

 Item, "Mail with Gmail"=Go to page,"javascript:a='%l';location.href='https://mail.google.com/gmail?view=cm&fs=1&tearoff=1&cmid=5&to='+a.replace(/^mailto:/,'');"

これでmailtoリンクの右クリックからGmailのメール作成画面へ飛べるようになる。


ブックマーク de Gmail拡張!と組みあわせれば色々できそう。


追記

上のUserJavascript版。mailtoリンクをGmailのメール作成画面へのリンクに置換。

document.addEventListener('load',mGmail,false);

function mGmail() {
	var anc = document.links;
	for(var i=0,len=anc.length;i<len;i++) {
		if(anc[i].href.match(/^mailto:/))
			anc[i].setAttribute('href','https://mail.google.com/gmail?view=cm&fs=1&tearoff=1&cmid=5&to='+anc[i].href.replace(/^mailto:/,''));
	}
}

再追記 6/19 19:00

OperaでmailtoプロトコルをWebメールに関連づける方法(駄的HTML改善計画)

[]Weekly(Easter egg/bug hunting edition) 02:37 Weekly(Easter egg/bug hunting edition) - opera:hige を含むブックマーク はてなブックマーク - Weekly(Easter egg/bug hunting edition) - opera:hige

Windows:8359

Unix/Linux:229

Opera Desktop Team - Easter egg/bug hunting edition


そろそろ追いかけるのがしんどくなってきた。

トラックバック - http://orera.g.hatena.ne.jp/higeorange/20060408
 |