Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function(){
- var DOMAIN = "dominio.com/it/ecc";
- var NEW_DOCUMENT = 0;
- if(this != parent && name == "XYZZY2"){
- parent.postMessage({type: NEW_DOCUMENT, title: document.title, pathquery: location.pathname+location.search}, "http://"+DOMAIN);
- }else if(!window.PL || location.hash.search(/access_token/) == -1){
- location.replace("//"+DOMAIN+location.pathname+location.search);
- }
- })()
Add Comment
Please, Sign In to add comment