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

Bug reports and enhancement requests
Post Reply
User avatar
cartel
Junior Member
Posts: 46
Joined: Sun Jul 14, 2013 11:31 pm

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

Post by cartel » Sun Jan 22, 2017 9:59 pm

I'm using PM x64

After I allow or disallow, it doesnt auto-reload
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

User avatar
cartel
Junior Member
Posts: 46
Joined: Sun Jul 14, 2013 11:31 pm

Re: (2.9.5.3rc6) Automatic reload broken?

Post by cartel » Mon Jan 23, 2017 6:48 am

barbaz wrote:Threads merged.

thank you
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

User avatar
cartel
Junior Member
Posts: 46
Joined: Sun Jul 14, 2013 11:31 pm

Re: (2.9.5.3rc6) Automatic reload broken?

Post by cartel » Wed Feb 01, 2017 1:13 am

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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

User avatar
cartel
Junior Member
Posts: 46
Joined: Sun Jul 14, 2013 11:31 pm

Re: (5.0rc1) Automatic reload broken?

Post by cartel » Thu Feb 02, 2017 5:09 am

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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

barbaz
Senior Member
Posts: 9264
Joined: Sat Aug 03, 2013 5:45 pm

Re: (5.0rc1) Automatic reload broken?

Post by barbaz » Thu Feb 02, 2017 5:45 am

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.
*Always* check the changelogs BEFORE updating that important software!
-

User avatar
cartel
Junior Member
Posts: 46
Joined: Sun Jul 14, 2013 11:31 pm

Re: (5.0rc1) Automatic reload broken?

Post by cartel » Thu Feb 02, 2017 8:37 am

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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

barbaz
Senior Member
Posts: 9264
Joined: Sat Aug 03, 2013 5:45 pm

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

Post by barbaz » Sat Feb 18, 2017 11:53 pm

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.
*Always* check the changelogs BEFORE updating that important software!
-

User avatar
cartel
Junior Member
Posts: 46
Joined: Sun Jul 14, 2013 11:31 pm

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

Post by cartel » Tue Mar 07, 2017 3:31 pm

No change with 5.01RC1
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

User avatar
Giorgio Maone
Site Admin
Posts: 8732
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post by Giorgio Maone » Tue Mar 07, 2017 9:58 pm

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?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0

barbaz
Senior Member
Posts: 9264
Joined: Sat Aug 03, 2013 5:45 pm

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

Post by barbaz » Tue Mar 07, 2017 10:47 pm

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.
*Always* check the changelogs BEFORE updating that important software!
-

User avatar
cartel
Junior Member
Posts: 46
Joined: Sun Jul 14, 2013 11:31 pm

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

Post by cartel » Wed Mar 08, 2017 2:55 am

https://github.com/MoonchildProductions ... n/pull/941

hmm

Honestly unless its a tab, other open pages dont refresh...I can live with that
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

barbaz
Senior Member
Posts: 9264
Joined: Sat Aug 03, 2013 5:45 pm

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

Post by barbaz » Wed Mar 08, 2017 3:46 am

Thanks for the link, cartel. 8-)

So I guess we just test it again when Pale Moon 27.2 is release?
*Always* check the changelogs BEFORE updating that important software!
-

barbaz
Senior Member
Posts: 9264
Joined: Sat Aug 03, 2013 5:45 pm

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

Post by barbaz » Sun Mar 19, 2017 6:19 pm

WFM in Pale Moon 27.2.0, NoScript 5.0.2rc3. Image

@cartel: Does that work for you as well?
*Always* check the changelogs BEFORE updating that important software!
-

Post Reply