View Single Post
Old 09-03-2008, 22:48   #926
none
Inactive
 
Join Date: Feb 2008
Posts: 102
none is just really nicenone is just really nicenone is just really nicenone is just really nicenone is just really nicenone is just really nice
Re: Virgin Media Phorm Webwise Adverts [Updated: See Post No. 1, 77, 102 & 797]

Quote:
Originally Posted by lucevans View Post
I think the paranoia is starting to take over... maybe it's time to switch off the PC and go for a walk...
Does anyone have a tinfoil hat smiley we could add to the list?
An interesting post here would also suggest that VM have not gone live with phorm just yet - http://www.digitalspy.co.uk/forums/s...=759341&page=2

Quote:
Originally Posted by knet2020
I have been taking a look at thecode behind some of the BT pages for webwise as they seem to be the most advanced in terms of making it available...

The current javascript code can be found at BT (clicking this link will NOT switch on Phorm etc it will simply show as text in your browser)

http://webwise.bt.com/includes/consu...ise/webwise.js

The current implementation sets a 2 year cookie as mentioned based on the hostname of the user, it's currently got 'checks' for the 3 ISP's and a 'TEST BLOCK' which checks for a domain 'thelathe.com' any users from this domain are assigned a 'Test User' cookie

all others are identified as BT, Virgin and TalkTalk (the good news for some VM users is that there is currently NO check for NTL or Blueyonder hosts but I imagine that would change. As mentioned by Pete aka Dephormation the current code opts you IN

Code:
function setBTWebwiseStatus(stat) {

    setww = document.getElementById('setwebwise');
    

    if (stat) {
        setww.src = "http://webwise.net/webwise_status/setwebwise.php?opt=in";
        setTimeout('setww.src = "http://a.webwise.net/services/OO?op=in"', 1000);
        
    }
    else {
        setww.src = "http://webwise.net/webwise_status/setwebwise.php?opt=out";
        setTimeout('setww.src = "http://a.webwise.net/services/OO?op=out"', 1000);
    }

    setTimeout('document.location.href="/index.html"', 2000);
    return false;
/*
    if (stat) {
        createCookie(btwwCookieName, btwwCookieValue, 10);
    }
    else {
        eraseCookie(btwwCookieName);
    }

    window.history.go(-1);
    return false;
*/
}
Note the URL in the function above is not on SSL
Code:

Code:
<p>
<a href="#" onclick="return setBTWebwiseStatus(true);">
Switch BT Webwise ON
</a>
  | 
<a href="#" onclick="return setBTWebwiseStatus(false);">
Keep BT Webwise OFF for Now
</a>
</p>
read the rest here - http://www.digitalspy.co.uk/forums/s...=759341&page=2
none is offline