Posted By

Kerrick on 02/19/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wirenaught


FreshBookMark - main.html


 / Published in: HTML
 

MIT Licensed.

  1. <title>FreshBookMark Redirecting...</title>
  2. <link rel="shortcut icon" href="/icon_16.png">
  3. </head>
  4. <script type="text/javascript">
  5. function get_options() {
  6. var saved = localStorage["saved_url"];
  7. if (saved == undefined || saved == null || saved == '') {
  8. window.location = "/options.html";
  9. } else {
  10. window.location = "https://" + saved + ".freshbooks.com/menu.php";
  11. }
  12. }
  13. <body onload="get_options()">
  14. Redirecting...
  15. </body>
  16. </html>

Report this snippet  

You need to login to post a comment.