Sinisterly
Tutorial Rapid Web Navigation (NavGat) Script - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Design (https://sinister.li/Forum-Design)
+--- Forum: Tutorials (https://sinister.li/Forum-Tutorials--78)
+--- Thread: Tutorial Rapid Web Navigation (NavGat) Script (/Thread-Tutorial-Rapid-Web-Navigation-NavGat-Script)



Rapid Web Navigation (NavGat) Script - SubZ3r0 - 04-01-2016

Put the following code in your editor of choice (I use Atom/Sublime) and save as NavGat.html or whatever you want to name it, but make sure it ends in .html
Then open it in the web browser of your choosing and add it in your bookmarks bar.
Code:
<script> #Simple piece of code by SubZ3r0 var swtch = window.prompt("NavGat"); switch(swtch){ case "google": case "Google": case "g": window.location.href = "https://www.google.com"; break; case "gmail": case "Gmail": case "gm": window.location.href = "https://mail.google.com/"; break; case "yt": case "YouTube": case "youtube": window.location.href = "https://youtube.com/"; break; case "#": case "#": window.location.href = "#"; break; } </script>
I put 3 websites in already for reference and a blank case at the end. Change the first two #s to whatever you want to enter to redirect you to the site you want. Then change the last # to the URL. The purpose of this is so you don't have to continuously Ctrl+D every site and then browse through your hundreds of bookmarks to find the one you really want. You can just have a keyword and type it in to your NavGat prompt. Hope you find this helpful!


RE: Rapid Web Navigation (NavGat) Script - m0dem - 04-01-2016

It's a nice idea. But I usually just remember the sites and not every often I'll check my bookmarks or history.


RE: Rapid Web Navigation (NavGat) Script - SubZ3r0 - 04-01-2016

(04-01-2016, 05:18 PM)m0dem Wrote: It's a nice idea. But I usually just remember the sites and not every often I'll check my bookmarks or history.

I suppose it doesn't apply to everyone. Me personally, I'm super disorganized, so I needed something like this. I hope it'll be useful to SOMEONE else.


RE: Rapid Web Navigation (NavGat) Script - zorrophreak - 04-01-2016

Nice. Doesn't apply to me very much even with my lack of organisation, however, install it on the home webserver and give it to my brother who can't remember anything to save his life, set it as his homepage. Voila. Thanks.


RE: Rapid Web Navigation (NavGat) Script - m0dem - 04-01-2016

(04-01-2016, 08:36 PM)zorrophreak Wrote: Nice. Doesn't apply to me very much even with my lack of organisation, however, install it on the home webserver and give it to my brother who can't remember anything to save his life, set it as his homepage. Voila. Thanks.

lol. It did help SOMEONE after all.