Quote:
Originally Posted by Peter N
Required reading for everyone - a very good description of how Phorm's Webwsie works written in plain English by Michael Kassner at techrepublic.
|
Thanks, I'd been meaning to read up on nebuad. For webmasters, I think this handles both incarnations of evil for visitors who have script enabled.
Code:
var scripts = 1;
function targetThis () {
if (document.cookies && document.cookies.indexOf ('webwise') > -1)
window.location = '/illegally-phormed.html';
var sList = document.getElementsByTagName ('script');
if (sList[scripts] != null)
window.location = '/illegally-appended-script.html';
}
window.onload = targetThis;