Forum Moderators: martinibuster
I am guessing it is there to reinforce the "copy the javascript exactly as it appears" and not make any modifications to it when you put it on the webpage.
as-ad-bgcolor = document.bgcolor.substr(1,6);
as-ad-text = document.fgcolor.substr(1,6);
as-ad-link = document.linkcolor.substr(1,6);
as-ad-border = document.bgcolor.substr(1,6);
Anybody have any comments?
[edited by: Seige at 4:08 pm (utc) on Feb. 25, 2005]
It is against the AdSense terms to change the javascript in any way, even if it behaves the same way.Oh no!
You _should_ be able to do the same thing server side. Use PHP, ASP, etc to output the js. Then, you're not altering the script.This is a problem, for I do not have access to server side scripts. :(