3 ms·
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/The_about_protocol https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/The... at the bottom Note
by bryanrasmussen 6y ago
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/The_about_protocol https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/The...
at the bottom
Note: You must access about: protocol pages by typing them into the address bar. Attempts to navigate through window.location will throw — Error: Access to 'about:addons' from script denied.
- nattaylor 6y agoGP, You could put the link into a window.prompot() for easy copy/paste into the address bar
- bryanrasmussen 6y agoWell, I guess you could probably use document.execCommand to do it, unless that is blocked for JavaScript uri scheme access, or ask for async clipboard access (I wonder what happens if you ask for it from JavaScript uri, should take time to investigate some day)