4 ms·
location.__defineGetter__('host',function(){return 'google.com'}) undefined location.host "google.com"
by homakov 13y ago
location.__defineGetter__('host',function(){return 'google.com'})
undefined
location.host
"google.com"
- ivanhoe 13y agoThat's a good point, haven't thought of that. So the idea sucks...