3 ms·
That's exactly it. A Javascript bookmarklet with an assigned keyword ("edit").
by nicbou 4y ago
That's exactly it. A Javascript bookmarklet with an assigned keyword ("edit").
- swyx 4y agocare to share it so i can crib off of you? oddly enough i write javascript all the time but never ever really got comfortable writing "bookmarklets"...
- nicbou 4y agoThis is the code: javascript:void(window.open(document.querySelector('head%20%3E%20link%5Brel=edit%5D').href,%20%20'_blank')); It relies on the page having a <link> tag with the URL to the admin panel.