forbidBGRefresh & META redirections

General discussion about the NoScript extension for Firefox
Post Reply
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

forbidBGRefresh & META redirections

Post by therube »

forbidBGRefresh & or META redirections (inside NOSCRIPT elements)

just going to ramble ...

on a forum, not allowed, where META redirections kicks in, I would (& do) get a prompt

NoScript blocked a <META> redirection inside a <NOSCRIPT> element

with the option to Follow Redirection.

Clicking to allow the redirection, & prior to .81, the forum page would reload & my post would display (just like here).

With .81, I still get the Follow Redirection prompt, but then it stops, instead of reloading the post.
I am left sitting at this page: http://... .org/forum/post_info.asp. If I attempt to refresh the page, it will attempt to repost my post (a second time). If I use the back arrow, I'm back in the dialog entry box. Kind of in a no move situation point.

Code: Select all

[NoScript] Blocking refresh on unfocused tab, http://... .org/forum/post_info.asp->http://... .org/forum/topic.asp?TOPIC_ID=33660
Note it says "unfocused" tab, but that is not correct, as focus never changed (just like here).


Allowing the domain, & all works as expected.
Not Allowed, &h with adding a (BG & GB) domain exception, the page still does not reload as expected (though nothing is logged in Error Console)?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100527 SeaMonkey/2.1a2pre
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: forbidBGRefresh & META redirections

Post by Giorgio Maone »

Could you check whether the problem persists in latest development build?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: forbidBGRefresh & META redirections

Post by therube »

Prior to update, I disabled META redirections & there was no change in what I saw.
So that tells me it was forbidBGRefresh.

---

Update .83.
META enabled. All other forbidBGRefresh at defaults.

Make a post
META warning comes up
Error Console notes:

Code: Select all

[NoScript] Blocking refresh on unfocused tab, http://... .org/forum/post_info.asp->http://... .org/forum/topic.asp?TOPIC_ID=34277
Allow Follow Redirection
And that's it.
Now sitting at: http://... .org/forum/post_info.asp
A refresh asks to resend
OK
META warning comes up
Allow Follow Redirection
And that's it.
Now sitting at: http://... .org/forum/post_info.asp

& so it repeats.

There was only that initial logging in Error Console. No further warnings on additional loops.

This is on a "Snitz" forum, seemingly an (older) version 3.3.0.5 of that.

---

Set an noscript.forbidBGRefresh.exceptions for http://... .org/

META warning comes up
Allow Follow Redirection
And that's it.
Now sitting at: http://... .org/forum/post_info.asp

& so it repeats.

So setting the exception made no difference.
Still - There was only that (very first) initial logging in Error Console. No further warnings on additional loops.

---

Allow http://... .org/

No META warning
No Error Console messages
The post posts & the page reloads as expected.

But, I don't want to (unnecessarily) Allow http://... .org/ ?

=======

And even posting this post logged:

Code: Select all

[NoScript] Blocking refresh on unfocused tab, http://forums.informaction.com/posting.php?mode=reply&f=8&sid=...&t=4427->http://forums.informaction.com/viewtopic.php?f=8&t=4427&p=18731#p18731
And I just barely caught the refresh.

Ditto for the edit, though the refresh was more apparent.

Code: Select all

[NoScript] Blocking refresh on unfocused tab, http://forums.informaction.com/posting.php?mode=edit&f=8&sid=...&t=4427&p=18731->http://forums.informaction.com/viewtopic.php?f=8&t=4427&p=18731#p18731
Still had I not been looking for it, I could easily have missed it.

(Now these happen because there is that <normal> slight delay after a post & before the page refreshes, & in between, I have jumped to another window, Error Console in this case. Had I waited for the refresh to actually occur, then nothing further is logged in Error Console.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100530 SeaMonkey/2.1a2pre
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: forbidBGRefresh & META redirections

Post by Giorgio Maone »

Please check latest development build 1.9.9.84
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: forbidBGRefresh & META redirections

Post by therube »

Looks like that's got it.

Domain not allowed
noscript.forbidMetaRefresh enabled
noscript.forbidBGRefresh*.* at defaults

Still the initial Error Console warning, but after allowing the META redirection, the page (post) reloads as expected.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100530 SeaMonkey/2.1a2pre
Post Reply