搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I want to change the URL of a bookmark to JavaScript code, specifically Phantom Limb. How do I do this??

  • 2 回覆
  • 2 有這個問題
  • 13 次檢視
  • 最近回覆由 pkukla

more options

I'm taking a class in mobile app building & am trying to save the JavaScript code for Phantom Limb as a bookmark. I found how to do in Chrome & change the URL to the code but am unable to do so in FireFox. It is a touchscreen simulator for desktops so it is something I want but am unable to figure out. Please advise.

I'm taking a class in mobile app building & am trying to save the JavaScript code for Phantom Limb as a bookmark. I found how to do in Chrome & change the URL to the code but am unable to do so in FireFox. It is a touchscreen simulator for desktops so it is something I want but am unable to figure out. Please advise.

被選擇的解決方法

Is the problem with creating the bookmarklet, or with running it successfully?

You can create a bookmarklet by right-clicking the bookmarks toolbar, New Bookmark, then paste your code into Location.

If there are problems running it, try opening Firefox's Browser Console (Ctrl+Shift+j). Click the Clear button to declutter it, then try your bookmarklet and see whether it generates any error messages.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Is the problem with creating the bookmarklet, or with running it successfully?

You can create a bookmarklet by right-clicking the bookmarks toolbar, New Bookmark, then paste your code into Location.

If there are problems running it, try opening Firefox's Browser Console (Ctrl+Shift+j). Click the Clear button to declutter it, then try your bookmarklet and see whether it generates any error messages.

more options

I knew I was overlooking something simple, thanks. It even saved the bookmarklet into the tool bar for easier access.