开发者

Load Firefox bookmarklet as normal URL

开发者 https://www.devze.com 2023-03-31 22:09 出处:网络
I\'ve just created a simple bookmarklet to load a URL containing a generated string. Is it possible to make this bookmarklet work like a normal bookmark:

I've just created a simple bookmarklet to load a URL containing a generated string. Is it possible to make this bookmarklet work like a normal bookmark:

  • When left-clicking opens in the current tab.
  • When middle-clicking opens in a new tab.
  • After putting in a folder, when 开发者_运维百科selecting Open All in Tabs opens in a new tab.

The first works, but the second does the same as the first, and the third results in just javascript:... in the location bar.

Edit: Could be related to this bug report reported nine years ago. Is there some way to work around it?


You should try putting your JavaScript code in a separate page saved on your computer somewhere, then bookmark that instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消