noscript, bypass cloudflare for "unblocked" sites

Ask for help about NoScript, no registration needed to post
harryray2
Posts: 16
Joined: Wed Mar 08, 2017 4:53 pm

noscript, bypass cloudflare for "unblocked" sites

Post by harryray2 »

I'm running FF 55.0.3 and Noscript 5.1.8.3. Recently whenever I try to access an "unblocked" site eg: primewire.unblocked.vc and I'm getting directed to cloudflare (this started happening about a month and a half ago) with the message "Please turn JavaScript on and reload the page".

I don't want to enable javascript on these sites. Is there any way round this?
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: noscript, bypass cloudflare for "unblocked" sites

Post by barbaz »

Testing on another site, it looks like those Cloudflare pages scripts are inline. So you could try writing a surrogate script to detect the Cloudflare page, grab their JS and run it.

I don't have time to help in more detail, sorry.
*Always* check the changelogs BEFORE updating that important software!
-
harryray2
Posts: 16
Joined: Wed Mar 08, 2017 4:53 pm

Re: noscript, bypass cloudflare for "unblocked" sites

Post by harryray2 »

Thanks, but I wouldn't know where to start to write a script!! I'll put a posting up to see if anyone can help
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
harryray2
Posts: 16
Joined: Wed Mar 08, 2017 4:53 pm

Anyone know how to write a surrogate script?

Post by harryray2 »

I have a problem with cloudflare..see https://forums.informaction.com/viewtop ... =7&t=24297 subject: noscript, bypass cloudflare for "unblocked" sites

It's been suggested I try a surrogate script...I have absolutely no idea how to do thid. Can anyone help!!

Thanks v. much
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: noscript, bypass cloudflare for "unblocked" sites

Post by barbaz »

Threads merged. Do not start multiple threads on the same problem, it is violation of Forum Rules.
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: noscript, bypass cloudflare for "unblocked" sites

Post by barbaz »

I finally got a chance to look into this more, and I'm not sure if my idea will work. I was thinking something like this -

replacement

Code: Select all

if(document.querySelector('.cf-content')){for(let s of document.getElementsByTagName('script'))eval(s.textContent);}
sources

Code: Select all

!.thesite.com
But it doesn't work on the site I tried, and I don't know how to get it working, sorry. Image
*Always* check the changelogs BEFORE updating that important software!
-
Guest

Re: noscript, bypass cloudflare for "unblocked" sites

Post by Guest »

This add-on redirect you to non-Cloudflare alternative website.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Post Reply