![]() |
|
"<img>... Remove: Webbugs" breaks script - Printable Version +- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums) +-- Forum: Proxomitron Config Sets (/forumdisplay.php?fid=43) +--- Forum: Sidki (/forumdisplay.php?fid=44) +--- Thread: "<img>... Remove: Webbugs" breaks script (/showthread.php?tid=1676) |
"<img>... Remove: Webbugs" breaks script - JJoe - Oct. 11, 2010 02:19 AM Test page: http://my.yahoo.com/ Symptoms: "previous" and "next" controls under photos in "TODAY" box don't work. Error Console Code: Error: missing ; before statementMatch and replace Code: <Match: <img>... Remove: Webbugs 09.05.28 [sd] (d.1) >Adding l.yimg.com/a/combo?my/js/core_0.1.359.js$SET(0=a_bug.) to user list clears up problem. Sets tested: SIDKI 2009-02-13 (UPDATE 06-06), SIDKI 2009-05-24 ALPHA 4, SIDKI 2010-09-19 BETA Browser: Firefox3 RE: "<img>... Remove: Webbugs" breaks script - sidki3003 - Oct. 11, 2010 05:21 PM Yeah. That happens if the quotes that delimit strings change in an expression. Example: okay: Code: var C="<img src="+A.src+" width='1' height='1' alt='' border='0' />";broken: Code: var C="<img src="+A.src+' width="1" height="1" alt="" border="0" />';I have already documented it as open issue. Another script using this code is l.yimg.com/a/lib/my/js/core_<JS-VERSION>.js, where webbugs get bypassed already. (Possibly the same script, since "combo" is merely concatenating scripts.) I have now changed: Code: l.yimg.com/a/combo\?*/metrics $SET(0=a_adjsex.)...to: Code: l.yimg.com/a/(combo\?*/metrics$SET(0=a_adjsex.a_bug.)|$SET(0=a_bug.))edit: That "Loading... " thingy at the bottom loads, if you click the Flash toggle. |