Page 1 of 1

noscript, bypass cloudflare for "unblocked" sites

Posted: Tue Dec 26, 2017 7:34 pm
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?

Re: noscript, bypass cloudflare for "unblocked" sites

Posted: Tue Dec 26, 2017 8:54 pm
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.

Re: noscript, bypass cloudflare for "unblocked" sites

Posted: Tue Dec 26, 2017 11:02 pm
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

Anyone know how to write a surrogate script?

Posted: Tue Dec 26, 2017 11:07 pm
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

Re: noscript, bypass cloudflare for "unblocked" sites

Posted: Wed Dec 27, 2017 5:04 am
by barbaz
Threads merged. Do not start multiple threads on the same problem, it is violation of Forum Rules.

Re: noscript, bypass cloudflare for "unblocked" sites

Posted: Sat Jan 20, 2018 5:46 pm
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

Re: noscript, bypass cloudflare for "unblocked" sites

Posted: Wed Jan 24, 2018 11:59 pm
by Guest
This add-on redirect you to non-Cloudflare alternative website.