Posted By


Kerrick on 02/19/11

Tagged


Statistics


Viewed 192 times
Favorited by 1 user(s)

FreshBookMark - main.html


/ Published in: HTML
Save to your folder(s)

MIT Licensed.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.