Fenix: [Bug] Bookmarklets doesn't work from bookmarks

Created on 27 May 2019  ·  13Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

Save any site to bookmarks
Edit this bookmark and put in there a Javascript as url, e.x.
javascript:%20(function%20()%20{%20%20%20%20%20%20window.open('https://invidio.us/watch?v='%20+%20document.location.href.replace(/^.+v=(.{11})(.+)?/g,%20'$1'));%20%20})();
Save this edited bookmark
Use it on YouTube for download a video.

Expected behavior

The YT Video will be downloaded

Actual behavior

The url of the bookmarklet will be searched

Device information

  • Android device: Samsung Galaxy Tab SM-T580 and Huawei P smart
  • Fenix version: 1.0.1921 Nightly and Raptor
FennecTransition P2 🐞 bug

Most helpful comment

How do I help out with this? Is this blocked on some design issue or does someone just need to write it out?

All 13 comments

I'm also able to reproduce this.

Annoyingly, typing javascript: URLs into the address bar results in a Google search.

Fun fact 1: When using the Developer Edition of Firefox, everything works as expected.
Fun fact 2: I spent 2 hours preparing a super luxury preview bookmarklet in FFdev which completly failed when the client wanted to use it in his browser (Firefox Regular Edition). :-D

@mindeffects There is no "Developer Edition" of Firefox for Android. Are you talking about Firefox for Desktop? Or do you mean the nightly builds of Firefox for Android when you say "Developer Edition"?

Oh, sorry. I typed the post on my mobile and mighted have stumbled into the wrong thread... Damn you, small screen! 😉
I had my problem with the desktop version of FF for macOS. Sorry.

I have the same issue and most extensions don't work... Also having the same issue in the nightly build.

Why did they even release this as a final version? As a work-around, I switched back to Fennec v68.11.0esr ... to be able to use my extensions and bookmarklets.

How do I help out with this? Is this blocked on some design issue or does someone just need to write it out?

Is it fixed yet? If this is for security reasons atleast allow people to disable it.

Is it fixed yet? If this is for security reasons at least allow people to disable it.

Mozilla just fired 1/4 of its employees and stopped caring about their core users (the only ones that haven't switched to Chrome)... They need a new CEO.

@mdxe That's irrelevant, this was an existing feature they disabled.

@mdxe That's irrelevant, this was an existing feature they disabled.

@theabbie Did they actually _disable_ it, or was it simply never implemented in Fenix?

I think it's the latter.

@angelsl Maybe it's the latter only, in chrome though, there is a workaround, you can call the bookmarklet from address bar. Bookmarklets are useful and should be allowed.

@mdxe That's irrelevant, this was an existing feature they disabled.

I switched back to Fennec, and extensions and bookmarlets work fine on Android (but I get no updates). I think it never worked on Fenix. They also didn't implement keyboard shortcuts on Fenix, I think (it is such an half-baked release when you know that all of this was working in the previous engine).

Just my 2 cents: I was regularly relying on bookmarklets previously so I was surprised/desappointed when they stopped working. I hope the feature is brought back soon, although I understand it's probably lower in the list of priorities than other, more widely-used features.

Thanks to everyone who's contributing.

Was this page helpful?
0 / 5 - 0 ratings