Gmail alle mailto laten afhandelen - links met registerProtocolHandler
Stay organized with collections
Save and categorize content based on your preferences.
Paul Irish
Als u Gmail gebruikt, kunt u gefrustreerd raken als u per ongeluk op een mailto: -link klikt en nu start uw desktopclient van Outlook of Mail op.
Dankzij navigator.registerProtocolHandler() ( die we hier eerder hebben besproken ) kun je Gmail instellen als je standaard e-mailclient voor alle mailto: -links in Chrome en Firefox.
Hier is hoe:
Open eerst een Gmail-tabblad. Je moet dit doen vanaf het Gmail-tabblad, niet vanaf je html5rocks-tabblad. :)
Open uw javascript-console ( cmd-opt-j op Mac, ctrl-shift-j op Windows) en voer in:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Translation issue","translationIssue","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2012-02-07 UTC."],[],[]]