News for hackers. Stuff that matters.
Re:Firefox Address Bar Tips by bmacho on Monday July 10, 2023 @10:27AM (#36666953)
Similarly you can run javascript programs on a site with a parameter from the url bar, if you want. For example you can make a bookmark with the URL

   javascript: document.body.innerHTML = "%s" + document.body.innerHTML
and add a keyword @addBefore and it will work. (Useless example, but it probably shows where and how the javascript runs.)
Re:Firefox Address Bar Tips by bshacklett on Monday July 10, 2023 @04:17PM (#36672352)
Now that’s awesome. Bookmarklets have felt largely useless to me since I got rid of the bookmarks bar outside of new tabs. This might make them useful again.