Skip to content

Instantly share code, notes, and snippets.

@cmur2
Created December 21, 2012 21:40
Show Gist options
  • Save cmur2/4356018 to your computer and use it in GitHub Desktop.
Save cmur2/4356018 to your computer and use it in GitHub Desktop.
anti-NoScript XSS entry for printfriendly.com
^http://pdf\.printfriendly\.com/pdfs/make
@hackademix
Copy link

For users who "don't know what to do with it", the regular expression is meant to be put in NoScript Options>Advanced>XSS>Exceptions.

Since that URL is used verbatim as a POST, I would rather use

^https?://pdf\.printfriendly\.com/pdfs/make$

and also add

pdf.printfriendly.com

to the NoScript Options>Advanced>HTTPS>Force... box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment