I want to make surrogates for each major release of jquery. How do I make them?
Any help is appreciated.
Making a surrogate script
-
access2godzilla
- Senior Member
- Posts: 109
- Joined: Sun May 20, 2012 5:09 pm
Making a surrogate script
Opera/9.80 (Android; Opera Mini/7.5.31657/29.3709; U; en) Presto/2.8.119 Version/11.10
Re: Making a surrogate script
Er...you mean a surrogate to make a site work when it depends on JQuery, but JQuery is blocked?
In a nutshell: no way.
JQuery is a large (and very useful) JavaScript library. Pages don't just depend on it if they're badly designed, like Google Analytics; they often use it to perform most of their important functions. A surrogate for it would have to be about as big as the original, and the page still wouldn't behave properly, because it expects JQuery to do meaningful work, which a surrogate would not.
I guess you could download a specific version of JQuery, review it to ensure that it's safe, and copy the whole thing into a surrogate...if surrogates are allowed to be that big...but for myself, I'd be happy to just allow it. I really doubt that JQuery is going to attack anyone.
In a nutshell: no way.
JQuery is a large (and very useful) JavaScript library. Pages don't just depend on it if they're badly designed, like Google Analytics; they often use it to perform most of their important functions. A surrogate for it would have to be about as big as the original, and the page still wouldn't behave properly, because it expects JQuery to do meaningful work, which a surrogate would not.
I guess you could download a specific version of JQuery, review it to ensure that it's safe, and copy the whole thing into a surrogate...if surrogates are allowed to be that big...but for myself, I'd be happy to just allow it. I really doubt that JQuery is going to attack anyone.
Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0