blob: a57e2fc6609f71b9a367b2e2a4b1059fb0ca05dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
var obj = new Object();
obj.location = location.toString();
obj.href = location.href;
obj.protocol = location.protocol;
obj.host = location.host;
obj.hostname = location.hostname;
obj.port = location.port;
obj.pathname = location.pathname;
obj.search = location.search;
obj.hash = location.hash;
postMessage(obj);
|