Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting: MySpace seems to have a "fixed" version of the code (but the date indicates that it isn't a recent fix):

http://www.myspace.com/eyewonder/interim.html

    <script language="JavaScript">
    // NEW CODE 09-14-05
    var query = window.location.search;
   	var adUrl = query.substring(5, query.length);
   	var clickthru;
   	var failclickthru;
   	if (/^http:\/\/([-a-z0-9]+\.)*eyewonder\.com\//i.test(adUrl) && adUrl.indexOf('"') == -1) {
			document.write('<s'+'cript language="JavaScript" src="');
			document.write(adUrl+'"></s'+'cript>');
		}
    </script>


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: