Hi guys, I have seen this AutoBrowse and I was just thinking if maybe this can be achieved using javascript?
Thanks for any help.
Thanks for any help.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<!-- autobrowse1.html -->
<html>
<head>
<meta http-equiv="refresh" content="10; url=autobrowse2.html">
<title>AutoBrowse</title>
</head>
<frameset cols="*" border="0" frameborder="no" framespacing="0">
<frame name="myFrame" src="[URL unfurl="true"]https://www.bbc.co.uk"[/URL] />
</frameset>
</html>
<!-- autobrowse2.html -->
<html>
<head>
<meta http-equiv="refresh" content="20; url=autobrowse1.html">
<title>AutoBrowse</title>
</head>
<frameset cols="*" border="0" frameborder="no" framespacing="0">
<frame name="myFrame" src="[URL unfurl="true"]https://www.google.com"[/URL] />
</frameset>
</html>
[gray]// ==UserScript==[/gray]
[gray]// @name AutoBrowse[/gray]
[gray]// @grant none[/gray]
[gray]// ==/UserScript==[/gray]
[b]var[/b] play_list [teal]= [[/teal]
[teal]{[/teal]url[teal]:[/teal] [i][green]'[URL unfurl="true"]https://www.bbc.com/'[/URL][/green][/i][teal],[/teal] wait[teal]:[/teal] [purple]10[/purple][teal]},[/teal]
[teal]{[/teal]url[teal]:[/teal] [i][green]'[URL unfurl="true"]https://www.google.com/'[/URL][/green][/i][teal],[/teal] wait[teal]:[/teal] [purple]20[/purple][teal]},[/teal]
[teal]][/teal]
[b]if[/b] [teal]([/teal]self [teal]==[/teal] top[teal])[/teal]
[b]for[/b] [teal]([/teal][b]var[/b] i [teal]=[/teal] [purple]0[/purple][teal],[/teal] l [teal]=[/teal] play_list[teal].[/teal]length[teal];[/teal] i [teal]<[/teal] l[teal];[/teal] i[teal]++)[/teal]
[b]if[/b] [teal]([/teal]play_list[teal][[/teal]i[teal]].[/teal]url [teal]==[/teal] location[teal].[/teal]href[teal]) {[/teal]
[COLOR=orange]setTimeout[/color][teal]([/teal][b]function[/b][teal]() {[/teal] location[teal].[/teal]href [teal]=[/teal] play_list[teal][([/teal]i [teal]+[/teal] [purple]1[/purple][teal]) %[/teal] l[teal]].[/teal]url [teal]},[/teal] play_list[teal][[/teal]i[teal]].[/teal]wait [teal]*[/teal] [purple]1000[/purple][teal])[/teal]
[b]break[/b]
[teal]}[/teal]