Closed porg closed 1 year ago
Adding support for this would require giving the extension permission to read all the users web content, something I really don't want to do. I will look into it but I am probably going to add an error message if you try to save a javascript: url.
Knowing now that a radical privacy loss is nessecary to achieve this, I agree it is not worth it!
But at least the error message instead of failing silently would be good.
There was some bug in how form errors are handled when creating new custom searches, the upcoming version will not allow you to save unless the URL is a valid https?://-URL.
Reproduction to create a new bookmarklet which can be called via SafariKeywordSearch
Google this domain
gs
javascript:void(location.href='https://www.google.com/search?q=@@@&domains='+location.hostname+'&sitesearch='+location.hostname)
Expected: New entry gets created
Actual:
Reproduction in use:
dropmarkletKeyword query ENTER
Expected: Executes the bookmarklet and sends you to the result
Actual: The full query with the keyword included is sent to the default search engine
https://user-images.githubusercontent.com/737143/135277853-3f2da1e7-1549-4253-bb0e-4480f780dfde.mp4