Before diving into building Chrome browser extensions, I'd like to make a list of bookmarks that, when clicked, use javascript to perform particular actions. I am not 100% sure, but I think these may be referring to as bookmarklets?
To start off simple, an example of something I need to do is:
- I'm currently viewing www.somedomain.com
- I'd like to click a bookmark and be taken to www.somedomain.com/?testinfo=visible
Meaning, whatever site I am at, it adds /?testinfo=visible to the url and loads that. It'll need to check if it ends in / already, so it doesn't end up with //, at least.
Much thanks.