/ Published in: HTML
MIT Licensed.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<html> <head> <link rel="shortcut icon" href="/icon_16.png"> </head> <script type="text/javascript"> function get_options() { var saved = localStorage["saved_url"]; if (saved == undefined || saved == null || saved == '') { window.location = "/options.html"; } else { window.location = "https://" + saved + ".freshbooks.com/menu.php"; } } </script> <body onload="get_options()"> Redirecting... </body> </html>