开发者

Load Firefox bookmarklet as normal URL

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜