Re:I Prefer Semi-Automation
by swyx on Saturday January 07, 2023 @09:02AM
(#34288016)
care 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"...
[ Parent
| on HN ]
This 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.