Quote
ブラウザの「mailto:」のリンクをクリックする度に、OutlookやMailのアプリが開いてイライラ…。そんな人は、ブラウザの拡張機能やその他の方法でこの悩みを解決できますが、Google信者でHTML5教の教祖でもあるPaul Irish氏が、シンプルで機能拡張も要らない方法を教えてくれました。
やり方は以下の通りです。
- GmailをChromeで開きます。
- 「Ctrl+Shift+J」(Windowsの場合)か、「Cmd+Opt+J」(Macの場合)を押し、ChromeのビルトインのJavaScriptコンソールを開きます。
- 以下の文字列をコンソールにペーストし、Enterキーを押します。
- Chromeが「すべてのEメールのリンクでGmail(mail.google.com)を開きますか?」と聞いてくるので、「Use Gmail」のボタンをクリックします。
navigator.registerProtocolHandler(“mailto”,
“https://mail.google.com/mail/?extsrc=mailto&url=%s”,
“Gmail”);
うまくいったかどうか、この「mailto:」のリンクをクリックして試してみてください。Gmailの新規メッセージが開いて、宛先がHTML5教のIrish氏のポストになっていればOKです。
-
jrgamo liked this
-
joecoolz liked this
-
joecoolz reblogged this from darylfranz
-
sai10t reblogged this from jesuisunechatte
-
inm liked this
-
takehiroyoshimura liked this
-
easygo reblogged this from sai10t
-
sikkan reblogged this from darylfranz
-
baby9xx liked this
-
giz0123 liked this
-
giz0123 reblogged this from darylfranz
-
12scales liked this
-
overtechnology reblogged this from atm09td
-
fuga reblogged this from y1s
-
comlog reblogged this from shimadallar
-
qlipon reblogged this from shimamura-kun
-
soutiencol liked this
-
soutiencol reblogged this from darylfranz
-
y1s liked this
-
y1s reblogged this from jesuisunechatte
-
nakakzs reblogged this from darylfranz
-
slowjam24 reblogged this from darylfranz
-
springdawn liked this
-
henachoko reblogged this from shimamura-kun
-
imaken reblogged this from hirotamaki
-
delan reblogged this from hirmax
-
shimamura-kun reblogged this from darylfranz
-
copypetter reblogged this from darylfranz
-
shimadallar reblogged this from atm09td
-
damnlocks liked this
-
damnlocks reblogged this from darylfranz
-
hirotamaki reblogged this from hirmax
-
cyanpon liked this
-
hizayamasan liked this
-
ksmyuu reblogged this from darylfranz
-
hirmax reblogged this from grimoire013
-
jesuisunechatte reblogged this from darylfranz
-
zakurochan liked this
-
atm09td reblogged this from darylfranz
-
grimoire013 liked this
-
grimoire013 reblogged this from darylfranz
-
sezitak liked this
-
darylfranz posted this