[FIXED] 5.1.3 Blocks bookmarklets w/ "Globally allow..."
[FIXED] 5.1.3 Blocks bookmarklets w/ "Globally allow..."
I've got a bookmarked JavaScript used to force web pages to allow saving of form information. The most recent version of NoScript blocks it, and I can't figure out if there are any settings that will allow running it beyond disabling NoScript alltogether. Whitelisting a site isn't good enough to let it work.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
All my bookmarklets stopped working since 5.1.3.
I've tried enabling "noscript.allowURLBarJS" in about:config but that didn't help.
Would be grateful if anyone can provide any background or hints on what we can do to enable bookmarklets short of disabling NoScript.
I've tried enabling "noscript.allowURLBarJS" in about:config but that didn't help.
Would be grateful if anyone can provide any background or hints on what we can do to enable bookmarklets short of disabling NoScript.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
This works for me:
Could you please:
- A simple bookmarklet
Code: Select all
javascript:alert("test")
- executed by clicking its button on the bookmarks bar
- on Fx 56 clean profile with NoScript 5.1.3
- both on whitelisted and non-whitelisted pages
- either immediately after restartless installation or after a browser restart.
Could you please:
- Send me the code of your bookmarklets for puntual testing
- Check wheter the NoScript Options>Advanced>Untrusted>Forbid bookmarklets preference is unchecked as it should
- Whether resetting NoScript's options (after exporting them for recovering) helps
- Whether disabling the other extensions (or trying a clean profile) helps
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
It seems the NoScript setting is what breaks the bookmarklets.
I tested your bookmarklet with a clean Firefox 56.0.1 profile with NoScript 5.1.3 and default NoScript settings => works ok;
After selecting the checkbox to allow scripts globally, the bookmarklet doesn't work anymore.
I exported the working settings and the non-working settings, and it seems
is the only difference.
Does that help?
Code: Select all
"global":true
I tested your bookmarklet with a clean Firefox 56.0.1 profile with NoScript 5.1.3 and default NoScript settings => works ok;
After selecting the checkbox to allow scripts globally, the bookmarklet doesn't work anymore.
I exported the working settings and the non-working settings, and it seems
Code: Select all
"global":true
Does that help?
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Yes, a lot. Please check latest development build 5.1.4rc1, thanks.filip wrote: Does that help?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Ah, bookmarklets was the word I was trying to think of. The checkbox disabling them is unchecked. I did try using a different profile. Earlier today I had re-enabled forbid global scripts and the test script that was posted worked, but the one I posted below didn't. Now can't get either to work.
This is the code:
This is the code:
Code: Select all
javascript:(function(){var%20ac,c,f,fa,fe,fea,x,y,z;ac="autocomplete";c=0;f=document.forms;for(x=0;x<f.length;x++){fa=f[x].attributes;for(y=0;y<fa.length;y++){if(fa[y].name.toLowerCase()==ac){fa[y].value="on";c++;}}fe=f[x].elements;for(y=0;y<fe.length;y++){fea=fe[y].attributes;for(z=0;z<fea.length;z++){if(fea[z].name.toLowerCase()==ac){fea[z].value="on";c++;}}}}alert("Enabled%20'"+ac+"'%20on%20"+c+"%20objects.");})();
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Did you try latest development build 5.1.4rc1?Alpha123 wrote:t. Now can't get either to work.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Sorry didn't say, no I didn't. Sounds like it fixes the issue though, so I'd guess it will go into the release version at some point. Thanks!Giorgio Maone wrote:Did you try latest development build 5.1.4rc1?Alpha123 wrote:t. Now can't get either to work.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
I did get the latest development build installed, and it does work. Thanks again!Alpha123 wrote:Sorry didn't say, no I didn't. Sounds like it fixes the issue though, so I'd guess it will go into the release version at some point. Thanks!Giorgio Maone wrote:Did you try latest development build 5.1.4rc1?Alpha123 wrote:t. Now can't get either to work.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Re: [FIXED] 5.1.3 Blocks bookmarklets w/ "Globally allow..."
Thanks – I uninstalled 5.1.3, reinstalled 5.1.4rc1, now bookmarklets work with "Globally allow". 

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0