copyright>
// Purpose to shuffle an array randomly
function shuffleArray(array)
for (Permit i = array.length - 1; i > 0; i--)
const j = Math.ground(Math.random() * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
// Operate to refresh the page at a set interval
functionality refreshPage()
var refreshInterval = 250000;
setInterval(operate ()
location.reload();
, refreshInterval);
// Operate to accomplish the hyperlink loop
purpose executeLoop()
var hyperlinks = [
'Your Backlink one',
'Your Link 2',
'Your Website link three',
'Your Connection four',
'Your Hyperlink 5',
'Your Connection six',
];
// Shuffle the array randomly
shuffleArray(one-way links);
var currentIndex = 0;
perform openLink()
var link = backlinks[currentIndex];
// Screen the url in the modal
openModalWithLink(connection);
var interval = Math.ground(Math.random() * (30000 - 20000 + 1) + 20000);
// Close the modal soon after the required interval
setTimeout(functionality ()
closeModal();
// Move to the next hyperlink
currentIndex = (currentIndex + 1) % hyperlinks.length;
// Get in touch with openLink once again Together with the up-to-date index
openLink();
, interval);
// First execution
openLink();
// Operate to open the modal using a provided hyperlink
perform openModalWithLink(hyperlink)
document.getElementById('modalIframe').src = connection;
// Explicitly load the get more info iframe just after location the supply
document.getElementById('modalIframe').onload = function ()
doc.getElementById('myModal').type.Screen = 'block';
;
// Perform to shut the modal
purpose closeModal()
document.getElementById('myModal').fashion.display = 'none';
// First execution
window.onload = operate ()
refreshPage(); // Commence the web page refresh
executeLoop(); // Start the backlink loop
;
×
------------------------------------------------------------------------------------------
2nd Code: (Take note: Use distinct Gmail/blog for this code)