Page 1 of 1
Anyone know how to write a surrogate script?
Posted: Wed Dec 27, 2017 9:49 pm
by harryray2
Anyone know how to write a surrogate script?
Re: Anyone know how to write a surrogate script?
Posted: Wed Dec 27, 2017 10:36 pm
by barbaz
Create two preferences in about:config, replacing <name> with the name of your surrogate:
right-click > New > String
name:
Code: Select all
noscript.surrogate.<name>.replacement
value is either the JS code, or a file: URL pointing to the .js file to run
right-click > New > String
name:
value is the URLs to run the surrogate at, specified as a URL pattern with the same syntax as ABE resources (but no special tokens. See
ABE Rules .pdf for details.) Depending what type of surrogate you're writing and when you want the surrogate to run, you can add a prefix to this value as explained in the
surrogate script article.
Re: Anyone know how to write a surrogate script?
Posted: Thu Dec 28, 2017 7:22 am
by harryray2
I've tried writing the script but I can't seem to get this to work, the site I'm trying to write a surrogate for is primewire.unblocked.vc Trying to stop the cloudflare page stopping me accessing the site telling me that I have to enable javascript
Re: Anyone know how to write a surrogate script?
Posted: Thu Dec 28, 2017 4:57 pm
by barbaz
harryray2 wrote: the site I'm trying to write a surrogate for is primewire.unblocked.vc Trying to stop the cloudflare page stopping me accessing the site telling me that I have to enable javascript
Again, please stick to
https://forums.informaction.com/viewtop ... =7&t=24297 for this issue. As noted in
Forum Rules #8, spreading a single issue across multiple threads makes it needlessly difficult to help you.
Re: Anyone know how to write a surrogate script?
Posted: Thu Jan 18, 2018 4:33 pm
by harryray2
Still have problem with this...Can anyone help?
Thanks.