搜尋 Mozilla 技術支援網站

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

Learn More

bookmarklets in Firefox Android

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 grobber

more options

I am trying out bookmarklet functionality on a mobile platform (Android 10). The bookmarklet is named test and points to the code

javascript:alert('boo')

How I test:

  1. Save the bookmarklet as described above to the bookmarks folder;
  2. Go to some random website;
  3. In the address bar, start typing test;
  4. The browser will recognize the bookmark and offer it in a menu;
  5. Click it.

Results:

  • In Brave for Android (Chrome-based) the alert window appears as expected;
  • In Firefox for Android absolutely nothing happens.

Question:

Is this intentional on Mozilla's part and/or expected or am I missing something?

I am trying out [https://support.mozilla.org/en-US/kb/bookmarklets-perform-common-web-page-tasks bookmarklet] functionality on a mobile platform (Android 10). The bookmarklet is named test and points to the code <blockquote> javascript:alert('boo') </blockquote> '''How I test:''' # Save the bookmarklet as described above to the bookmarks folder; # Go to some random website; # In the address bar, start typing test; # The browser will recognize the bookmark and offer it in a menu; # Click it. '''Results:''' * In Brave for Android (Chrome-based) the alert window appears as expected; * In Firefox for Android absolutely nothing happens. '''Question:''' Is this intentional on Mozilla's part and/or expected or am I missing something?

由 grobber 於 修改

被選擇的解決方法

所有回覆 (2)

more options

選擇的解決方法

Right, it does not work yet. Please follow https://github.com/mozilla-mobile/fenix/issues/2871

more options

Thank you! I've chosen this as a solution.

It's ironic: last night the big Firefox-for-Android update hit, with a double whammy:

  1. remove most add-on functionality, thus rendering Tampermonkey unusable;
  2. also disable bookmarklets.

In any case, thanks for pointing out the github issue; I suppose I can always reinstall once some semblance of usability has been restored.