Item logo image for Bookmarklet URL

Bookmarklet URL

3.0(

3 ratings

)
ExtensionWorkflow & Planning3,000 users

3 support issues

  • All
  • Questions
  • Suggestions
  • Problems

Lazy Coder

May 3, 2023

bmlet query string ? Why not tag

Would it be possible to adapt this to use the # hash on a url as the bookmarklet.

#{javascript:alert("Hello")}

or perhaps

#bmlet={javascript:alert("Hello")}

A Chrome Web Store user

Jan 8, 2019

No longer working?

Hi, I've been using this extension for a few months now, without a problem. It's great for triggering some cleanup for sites that need to be used for presentations.
However, just recently, it appears to have stopped working in Chrome.

The History page will still show that the bookmarklet should have run, but the code never seems to trigger. I also found the Collect Errors option, and turned that on, and found a place where it's showing errors. The error is:
"Unchecked runtime.lastError while running tabs.update: JavaScript URLs are not allowed in chrome.tabs.update. Use chrome.tabs.executeScript instead." in "_generated_background_page.html".
Stack trace is:
background.js:70 (anonymous function)
chrome.tabs.update(tabId, {
background.js:28 (Object.callback)
callback(results);

My Chrome version is Version 71.0.3578.98 (Official Build) (64-bit). On OS/X 10.13.6 (17G4015).

Please let me know if there's anything I can help with or try further! It'd be nice to get this functionality back, so that I don't have to manually trigger the bookmarklets every day :)

G Ingram

Jan 13, 2016

custom JS

I'd love to be able to execute some JS on the fly without having an existing bookmarklet.

EG:
http://your.web.app.com/?bmlet=alert("hello")

of course the JS will need to be url-encoded

Google apps