[FIXED] bookmarklets cannot add event listeners (Fx 27)
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: bookmarklets cannot add event listeners anymore (Fx 27)
Please check latest development build 2.6.8.15rc5, which should address most if not all these issues (by ugly yet spectacular hacks).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Re: bookmarklets cannot add event listeners anymore (Fx 27)
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.
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.
Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: bookmarklets cannot add event listeners anymore (Fx 27)
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!
Please confirm for latest development build 2.6.8.17rc1, thank you!
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Re: bookmarklets cannot add event listeners anymore (Fx 27)
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.
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.
Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0