Page 1 of 1

forbidBGRefresh & META redirections

Posted: Sat May 29, 2010 6:05 pm
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)?

Re: forbidBGRefresh & META redirections

Posted: Sat May 29, 2010 10:24 pm
by Giorgio Maone
Could you check whether the problem persists in latest development build?

Re: forbidBGRefresh & META redirections

Posted: Sun May 30, 2010 2:39 pm
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.)

Re: forbidBGRefresh & META redirections

Posted: Sun May 30, 2010 4:04 pm
by Giorgio Maone
Please check latest development build 1.9.9.84

Re: forbidBGRefresh & META redirections

Posted: Sun May 30, 2010 4:25 pm
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.