Script Summary: A customized Google Navigation Bar
Version: 1.1
This is a modified navigation bar that appears on Google websites (the black bar at the top of every page). Instructions for user configuration below and in the screenshots.
##############################################################
Links
Google+, Search, Images, Maps, Play, Google Music, YouTube, Gmail, Contacts, Drive, Translate, Calendar (read user configuration below), More (not a dropdown menu)
##############################################################
Issues
1. The links will no longer light up when viewing the corresponding pages
2. The image search link goes to a blank search page instead of reusing the search string (if any)
3. It absolutely refuses to work on Google Play
4. It's very temperamental on Gmail and doesn't work sometimes
##############################################################
User configuration (Refer to screenshots)
To modify a link or its title, replace the url and the corresponding title with what you want. Make sure not to remove the quote marks on either side of the url.
To remove a link, scroll down to "var links" and remove the items you don't want. Make sure there are no missing or extra commas.
To add Calendar, scroll down to "var links" and add Calendar to the list of items in the position you want.
To add a link,
1. Duplicate one of the existing item paragraphs and replace the item name in the code where necessary. Example: if you duplicate the paragraph for Gmail and want to replace the duplicate with a link for Google News, you will need to replace 6 instances of "Gmail_link" with "News_link", and 3 or 4 instances of "Gmail" with "News".
2. Replace the url and the link title.
3. Scroll down to "var links" and add News to the list of items in the position you want.
To remove a separator, find and delete the line *.style.borderRight = '1px solid gray'; where * stands for the item on the immediate left side of the separator you want to remove.
To add a separator, insert *.style.borderRight = '1px solid gray'; in the second row from the bottom of the item's paragraph, and remember to change the * to the corresponding item name (just the item name without the _link suffix). Know that separators are added to the right side of items.
##############################################################
Changelog
1.0 Initial release
1.1 Rewrote the script, and removed my stupid name from the code (that was an epic facepalm)
##############################################################
Contact
@Secretss_ on Twitter.



