Allowing Particular XSS target (eg CleanPrint)

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

Allowing Particular XSS target (eg CleanPrint)

Post by XSSed »

Although it is possible to always allow an individual site originating an XSS request to do do, is there a way to always allow a particular XSS target>

For example, I use CleanPrint - and you should too, it saves time, clutter, and paper - however as it is invoked from ANY page that you wish to print it must be individually allowed by NS on each of these pages.

True, 'allow unsafe reload' works, but it would be more elegant if the target http://cpf.cleanprint.net/cpf/cpf could simply always be allowed, no matter where it is invoked from.

Is there no way of doing this?

Thanks.
Last edited by Thrawn on Mon Nov 12, 2012 10:04 pm, edited 1 time in total.
Reason: Fixed truncated link
Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allowing Particular XSS target (eg CleanPrint)

Post by Giorgio Maone »

I suppose you just need to add

Code: Select all

^http://cpf\.cleanprint\.net/cpf/cpf
to your NoScript Options|Advanced|XSS exceptions box.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
XSSed

Re: Allowing Particular XSS target (eg CleanPrint)

Post by XSSed »

Thank you,

But I did try that without success - which is why I concluded that the originating page is the one which has to be whitelisted, not the target.

Here is my exception list, as you can see, except for cleanprint it is default

^https?://([a-z]+)\.google\.(?:[a-z]{1,3}\.)?[a-z]+/(?:search|custom|\1)\?
^https?://([a-z]*)\.?search\.yahoo\.com/search(?:\?|/\1\b)
^https?://[a-z]+\.wikipedia\.org/wiki/[^"<>\?%]+$
^https?://translate\.google\.com/translate_t[^"'<>\?%]+$
^https://secure\.wikimedia\.org/wikipedia/[a-z]+/wiki/[^"<>\?%]+$
^http://cpf\.cleanprint\.net/cpf/cpf
Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Allowing Particular XSS target (eg CleanPrint)

Post by Giorgio Maone »

Could you please show me the exact [NoScript XSS] messages you get in your Tools>Error Console (CTRL+J) when the problem happens?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Post Reply