chrome_plugins
chrome_plugins copied to clipboard
window access?
Is there a way to access the page's window object so one can access the pages global JS variables
e.g. window.dataLayer
Or is this deliberately prevented by Chrome?
@CyBrian you can access window for example, here is a script I've been using tonight.
setTimeout(fourtySecInterval, 1000);
function fourtySecInterval() {
if (window.location.href.includes('marketplace')) {
var a = setInterval(() => {
window.location.href = window.location;
}, 40000);
}
}