From dbee5ff519a095a22777f77ed6ee01c0f2b60e12 Mon Sep 17 00:00:00 2001 From: Michael Xander Date: Fri, 6 Dec 2013 12:06:18 +0100 Subject: [PATCH] Added the option to easily change the favicon size. --- index.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index f2b8e13..8178c8b 100644 --- a/index.html +++ b/index.html @@ -71,14 +71,18 @@

Favorite Sites

var favSites = ["michaelxander.com", "mymorningroutine.com", "mail.google.com", "drive.google.com", "twitter.com", "hootsuite.com", "nytimes.com", "news.ycombinator.com", "onethingwell.org", "brettterpstra.com", "instantwatcher.com", "hypetrak.com", "toucharcade.com"]; // 2) Sets: enter your urls without 'http://'. First array element is the name of the set. var siteSets = [ ["evening set", "nytimes.com", "news.ycombinator.com", "onethingwell.org", "macstories.net", "stadt-bremerhaven.de", "brettterpstra.com", "instantwatcher.com", "hypetrak.com"], ["NYC", "michaelxander.com/static/nyc-cams.html", "hellonewyork.us", "newyork-ny-130.tumblr.com", "candidnewyork.tumblr.com", "uppereasttside.tumblr.com"], ["Travel", "skyscanner.de", "kayak.com", "en.wikivoyage.org", "wikitravel.org"] ]; - // 3) Weather Forecast (optional): enter your zip code and country. - var zipCode = "10439"; + + /* OPTIONAL settings */ + // 3) Weather Forecast: enter your zip code and country. + var zipCode = 10439; var country = "Germany"; var unit = "c"; // c or f (for Celsius or Fahrenheit) - // 4) Search Field Focus (optional): uncomment to actiave (can be annoying if you immediately want to open an url) + // 4) Search Field Focus: uncomment to actiave (can be annoying if you immediately want to open an url) //document.searchForm.q.focus(); - // 5) Change Search Engine (optional): edit to search for example with DuckDuckGo (https://duckduckgo.com) instead of Google (https://www.google.com/search). + // 5) Change Search Engine: edit to search for example with DuckDuckGo (https://duckduckgo.com) instead of Google (https://www.google.com/search). var searchEngine = "https://www.google.com/search"; + // 6) Favicon size: edit to change the favicon size (default = 16) + var faviconSize = 16; /* Configuration finished */ @@ -86,7 +90,7 @@

Favorite Sites

var setOutput; for (var i in favSites) { - favs += "\"" "; + favs += "\"" "; }; document.getElementById("favoriteSites").innerHTML = favs; @@ -102,7 +106,7 @@

Favorite Sites

setOutput += "\">" +siteSets[i][0]+ "<\/a>
"; for (var u = 1; u < siteSets[i].length; u++) { - setOutput += "\"" "; + setOutput += "\"" "; }; setOutput += "";