Page 2 of 2

Re: bookmarklets cannot add event listeners anymore (Fx 27)

Posted: Fri Feb 21, 2014 11:00 pm
by Giorgio Maone
Please check latest development build 2.6.8.15rc5, which should address most if not all these issues (by ugly yet spectacular hacks).

Re: bookmarklets cannot add event listeners anymore (Fx 27)

Posted: Sun Feb 23, 2014 6:53 pm
by porl
Looks promising when I paste a bookmarklet into the address bar, but it has disabled all my saved bookmarklets which cause an assortment of syntax errors. I guess this may be a failure to decode '%20' - about the only escaping Firefox does when saving ASCII javascript URLs as bookmarks.

That restricts the testing I'm able to do, but in the meantime I'm going to PM you a bookmarklet that hopefully provides a one-click test for all the tricky cases we've discovered so far.

Re: bookmarklets cannot add event listeners anymore (Fx 27)

Posted: Sat Mar 01, 2014 9:46 pm
by Giorgio Maone
Most if not all the issues reported so far (also in PMs) should have been fixed by now.
Please confirm for latest development build 2.6.8.17rc1, thank you!

Re: bookmarklets cannot add event listeners anymore (Fx 27)

Posted: Sun Mar 02, 2014 2:51 pm
by porl
Thank you for your hard work, Giorgio. Event listeners (and XHRs) have indeed been restored in FF 27 and all but one of the side-effects worked around.

There just remains the question of window.open().document.write(), which now only works in a bookmarklet if you enable scripting for the host domain. In other cases, it fails silently.

Fortunately, there is a viable alternative in data URIs (see http://stackoverflow.com/questions/1196 ... hing-to-it), so it's no show-stopper, but there may be bookmarklets still in use that rely on the original technique.

As far as I'm concerned though, this issue is resolved. Thanks again.