Page 1 of 1
[FIXED] 5.1.3 Blocks bookmarklets w/ "Globally allow..."
Posted: Tue Oct 24, 2017 5:06 am
by Alpha123
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.
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Tue Oct 24, 2017 11:21 am
by filip
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.
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Tue Oct 24, 2017 11:41 am
by Giorgio Maone
This works for me:
- A simple bookmarklet
- 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.
Do your testing conditions match mine, and if not what are the differences?
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
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Tue Oct 24, 2017 5:30 pm
by filip
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?
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Tue Oct 24, 2017 11:25 pm
by Giorgio Maone
filip wrote:
Does that help?
Yes, a lot. Please check
latest development build 5.1.4rc1, thanks.
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Wed Oct 25, 2017 1:19 am
by Alpha123
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:
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.");})();
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Wed Oct 25, 2017 1:40 am
by Giorgio Maone
Alpha123 wrote:t. Now can't get either to work.
Did you try
latest development build 5.1.4rc1?
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Wed Oct 25, 2017 4:28 am
by Alpha123
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!
Re: 5.1.3 Blocks javascript bookmark that turns autocomplete
Posted: Wed Oct 25, 2017 4:35 am
by Alpha123
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!
I did get the latest development build installed, and it does work. Thanks again!
Re: [FIXED] 5.1.3 Blocks bookmarklets w/ "Globally allow..."
Posted: Wed Oct 25, 2017 2:20 pm
by filip
Thanks – I uninstalled 5.1.3, reinstalled 5.1.4rc1, now bookmarklets work with "Globally allow".
