Allow only a specific page of a website

Ask for help about NoScript, no registration needed to post
asdasdasdqer234

Allow only a specific page of a website

Post by asdasdasdqer234 »

Hello Forum,

I use a website that needs Javascript at login page, but after that works normally even without JS.

Is there any way to allow only at login page and not for the rest of the site?

Thanks
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Allow only a specific page of a website

Post by barbaz »

What is the URL of the site / login page? (wrap in url tags so that the board doesn't break your link, like this

Code: Select all

[url]your link here[/url]
)
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:34.0) Gecko/20100101 Firefox/34.0
asdasdasdasdqwe234234

Re: Allow only a specific page of a website

Post by asdasdasdasdqwe234234 »

browsing to the site all you see is a username and password box and a login button-- which does not work without JS:

Code: Select all

https://somesite.com/
after login, it redirects to:

Code: Select all

https://somesite.com/index.php
and then you could click other pages

Code: Select all

https://somesite.com/other_pages.php
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Allow only a specific page of a website

Post by barbaz »

I'm not seeing any of that on 'somesite.com' (looks like all it does is try to set a cookie containing your IP address)... but from your description, try:
1) Allow somesite.com
2) go to noscript options > advanced > ABE > USER
3) add

Code: Select all

Site ^https://somesite\.com/$
Accept
Site .somesite.com
Sandbox
Does that work?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 SeaMonkey/2.7.1
asdasdasd234234

Re: Allow only a specific page of a website

Post by asdasdasd234234 »

thanks, but no that did not work. with that ABE rule set, I could not login, and I could not Allow or Forbid anything on that site.

(BTW somesite.com is an example not a real site name. )
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: Allow only a specific page of a website

Post by barbaz »

I can't help more without knowing the actual site, sorry.
*Always* check the changelogs BEFORE updating that important software!
ELinks/0.9.3 (textmode; Linux 2.6.9-kanotix-8 i686; 127x41)
Post Reply