Page 1 of 1

Reload the current tab only -> no auto-reload at all

Posted: Sun Jan 22, 2017 9:59 pm
by cartel
I'm using PM x64

After I allow or disallow, it doesnt auto-reload

Re: (2.9.5.3rc6) Automatic reload broken?

Posted: Mon Jan 23, 2017 6:48 am
by cartel
barbaz wrote:Threads merged.

thank you

Re: (2.9.5.3rc6) Automatic reload broken?

Posted: Wed Feb 01, 2017 1:13 am
by cartel
Still broken with 5.0...what gives?

**edit

I found noscript.autoReload.allTabs and changed to true and auto reload works, but, I wanted it set to only the tab I have open to reload.
If I have a form with data in it on 1 other tab or page and I allow some other tab or page, they all refresh and I lose my form data that was waited to be completed.

***edit

after further investigation, it seems all tabs/pages are not reloading, just the tab I'm on, so noscript.autoReload.allTabs set to false just kills autoreoad altogether since 2.9.5.3?
Anyways problem solved for my situation.

noscript.autoReload.allTabs = true



Image

Image

Re: (5.0rc1) Automatic reload broken?

Posted: Thu Feb 02, 2017 5:09 am
by cartel
If I have this box checked, autoreload wont work at all.
Thats been the problem for me the whole time since 2.9.5.3

Image

Re: (5.0rc1) Automatic reload broken?

Posted: Thu Feb 02, 2017 5:45 am
by barbaz
cartel wrote:If I have this box checked, autoreload wont work at all.

Confirmed in Pale Moon 27.0.3, NoScript 5.0rc1.

However, that seems to be a completely different bug. Sorry about the incorrect thread merging. In future, to avoid that happening again, please give more detailed reports at the start. Thanks.

Re: (5.0rc1) Automatic reload broken?

Posted: Thu Feb 02, 2017 8:37 am
by cartel
barbaz wrote:
cartel wrote:If I have this box checked, autoreload wont work at all.

Confirmed in Pale Moon 27.0.3, NoScript 5.0rc1.

However, that seems to be a completely different bug. Sorry about the incorrect thread merging. In future, to avoid that happening again, please give more detailed reports at the start. Thanks.

sorry I didn't really know what was causing it at first.
I'm just glad I can help.

Re: Reload the current tab only -> no auto-reload at all

Posted: Sat Feb 18, 2017 11:53 pm
by barbaz
I did some digging on this, with NoScript 5.0rc2 and Pale Moon 27.1.0. And I think I've found two problems.

1) MainParent.js line 416 needs to be changed to -

Code: Select all

      reloadPolicy: reloadPolicy,


2) NoScript is passing in the innerWindowID property of the gBrowser.selectedBrowser. However, on Pale Moon this property is undefined. So NoScript is defaulting it to 0. End result, NoScript doesn't see anything to do.

I can't find any documentation of the innerWindowID property, so not sure what next.

Re: Reload the current tab only -> no auto-reload at all

Posted: Tue Mar 07, 2017 3:31 pm
by cartel
No change with 5.01RC1

Re: Reload the current tab only -> no auto-reload at all

Posted: Tue Mar 07, 2017 9:58 pm
by Giorgio Maone
barbaz wrote:I did some digging on this, with NoScript 5.0rc2 and Pale Moon 27.1.0. And I think I've found two problems.

1) MainParent.js line 416 needs to be changed to -

Code: Select all

      reloadPolicy: reloadPolicy,
Do you mean Palemoon 27 doesn't support ES6's shortcut syntax for properties which have the same name as a variable in scope?
2) NoScript is passing in the innerWindowID property of the gBrowser.selectedBrowser. However, on Pale Moon this property is undefined. So NoScript is defaulting it to 0. End result, NoScript doesn't see anything to do.
I can't find any documentation of the innerWindowID property, so not sure what next.
Which Gecko version is Palemoon based on? Is e10s enabled?

Re: Reload the current tab only -> no auto-reload at all

Posted: Tue Mar 07, 2017 10:47 pm
by barbaz
Giorgio Maone wrote:Do you mean Palemoon 27 doesn't support ES6's shortcut syntax for properties which have the same name as a variable in scope?
Actually, it looks like that syntax is supported. This code, run in the Web Console or Browser Console, does work -

Code: Select all

var Foo={navigator, abc:123}
Now I'm not sure why I had to make that change. Image
Giorgio Maone wrote:Which Gecko version is Palemoon based on?
I'm not sure it's really based on any specific Gecko version anymore. The last rebase was on Gecko 38. But some stuff that didn't work in Gecko 38, works well in Pale Moon. And NoScript requires at least Gecko 45, yet it works well in Pale Moon 27 (except for this one issue).
Giorgio Maone wrote:Is e10s enabled?
No.

Re: Reload the current tab only -> no auto-reload at all

Posted: Wed Mar 08, 2017 2:55 am
by cartel
https://github.com/MoonchildProductions ... n/pull/941

hmm

Honestly unless its a tab, other open pages dont refresh...I can live with that

Re: Reload the current tab only -> no auto-reload at all

Posted: Wed Mar 08, 2017 3:46 am
by barbaz
Thanks for the link, cartel. 8-)

So I guess we just test it again when Pale Moon 27.2 is release?

Re: Reload the current tab only -> no auto-reload at all

Posted: Sun Mar 19, 2017 6:19 pm
by barbaz
WFM in Pale Moon 27.2.0, NoScript 5.0.2rc3. Image

@cartel: Does that work for you as well?