Code: Select all
// Function to break out of iframe
function breakOutIframe() {
try {
// Try to access the parent frame and redirect it to a different URL
window.top.location.href = 'https://myp2p.com/hd';
} catch (e) {
// If an error occurs, log it to the console
console.log('Error breaking out of iframe:', e);
}
}
// Set the interval to 1000 milliseconds (1 second)
var intervalId = null;
// When the iframe is loaded, start the interval
window.onload = function() {
intervalId = setInterval(breakOutIframe, 9000);
};
Gibt es eine Option, die ich als Link -Link -Rotation verwendete. https://myp2p.com/2
Danke