{"id":653,"date":"2014-03-22T10:27:51","date_gmt":"2014-03-22T14:27:51","guid":{"rendered":"http:\/\/cyclops.creed3.com\/?p=653"},"modified":"2014-03-23T08:30:29","modified_gmt":"2014-03-23T12:30:29","slug":"the-firefox-new-tab-page","status":"publish","type":"post","link":"https:\/\/tech.creed3.com\/?p=653","title":{"rendered":"The Firefox New Tab Page (and How to Change it)"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.cyclops.creed3.com\/images\/stories\/ff_logo_150w.png\" alt=\"Firefox\" width=\"150\" align=\"right\" border=\"0\" style=\"margin: 0 0px 4px 4px;\" \/>If you&#8217;re a Firefox user, you&#8217;ve no doubt noticed for some time now when you open a new tab you are greeted by a large set of 9 icons and links for some of the sites you visit most often. &nbsp;You may also have noticed that they seem to change over time, but that you can &#8216;pin&#8217; these icons in place, and even reorder them, so they don&#8217;t change. Many don&#8217;t like this and would prefer to get the blank tab back. &nbsp;Those who do like it, me among them, might wonder where are these links stored and can I edit them? &nbsp;I finally went looking and found the answer.<!--more--><\/p>\n<div style=\"margin:20px;border:1px solid orange;padding:20px;\"><em>WARNING : This is NOT for the faint of heart nor casual non-techie user. &nbsp;You could really mess things up.<\/em><\/div>\n<p>This requires editing the about:config file. &nbsp;If you aren&#8217;t familiar with this you might want to turn back now.<\/p>\n<p>To get started open a new tab and enter &#8220;about:config&#8221; (without the quotes) as the URL. &nbsp;If you&#8217;ve never done this before FF gives you a warning, which you can disable for the next time you might chose to go here. &nbsp;Just promise you&#8217;ll be careful and proceed.<\/p>\n<p>You should have before your eyes the entire list of your FF settings. &nbsp;Narrow that down by entering &#8220;newtab&#8221; (again, no quotes) in the search bar at the top. &nbsp;Now you probably only see a few lines unless you have an add-on that uses this as part of it&#8217;s setting.<\/p>\n<p>The most common edit here that can easily be found all over the net, is simply getting rid of the new tab page and going back to a true blank page. &nbsp;To do this, find the Preference named <em>browser.newtab.url<\/em> and double click on it&#8217;s value which is currently set to <em>about:newtab<\/em> and change this setting to &#8220;about:blank&#8221; (no quotes), quit and restart FF and you&#8217;re done.<\/p>\n<p>For those who appreciate the quick launch icons but would like further control, read on.<\/p>\n<p>The default number of icons is 9, 3 rows with 3 columns. &nbsp;Want more icons? &nbsp;No problem. &nbsp;Locate the Preferences named <em>browser.newtabpage.columns<\/em> and <em>browser.newtabpage.rows<\/em> and change their values from the default 3 to what ever you&#8217;d like. &nbsp;I haven&#8217;t tested to find out if there&#8217;s a limit on how large these settings can be as I&#8217;ve settled on 4 columns with the default of 3 rows.<\/p>\n<p>Now let&#8217;s edit those links, pinned or not. &nbsp;This is a bit more tricky and I didn&#8217;t find this info anywhere online which is what inspired me to post this here. &nbsp;All of the settings for the actual links reside not in a database or separate XML file as you might expect, but right here in about:config, and all in one Preference single setting: <em>browser.newtabpage.pinned<\/em>.<\/p>\n<p>It&#8217;s best to perform this editing using your favorite plain text editor. &nbsp;Do NOT use a word processor such as Microsoft Word because we don&#8217;t want the text formatting with fonts and attributes and such. &nbsp;Although I suppose if you simply copy and paste your edited text it might be safe, however I would still recommend a plain text editor. &nbsp;For the Mac I like TextWrangler.<\/p>\n<p>Once your text editor is ready for work, copy the value of <em>browser.newtabpage.pinned<\/em> and paste in to your text editor. &nbsp;It can be one very long and continuous line of text so you&#8217;ll be doing a lot of sideways scrolling. &nbsp;Be sure during your editing not to change it from one long line of text.<\/p>\n<p>So you should have something similar to this:<br \/>\n<code>[{\"url\":\"http:\/\/cyclops.creed3.com\/\",\"title\":\"c y c l o p s\"},{\"url\":\"http:\/\/www.google.com\/\",\"title\":null},null,{\"url\":\"https:\/\/trello.com\/\",\"title\":\"Trello\"},{\"url\":\"https:\/\/duckduckgo.com\/\",\"title\":\"Search DuckDuckGo\"},{\"url\":\"http:\/\/www.theindychannel.com\/\",\"title\":\"Home | RTV6 TheIndyChannel.com\"}]<\/code><\/p>\n<p>Let&#8217;s note some important things about this:<\/p>\n<ul>\n<li>The entire line is enclosed in brackets: []<\/li>\n<li>The links are separated with commas<\/li>\n<li>Links that are not pinned and can change randomly based on the sites you visit, have the value &#8220;null&#8221; (without the quotes) IF they are surrounded by pinned links (such as between google and trello.com in the example above). Non-pinned links that follow pinned links simply are omitted in this list.<\/li>\n<li>Each pinned link is enclosed by curly brackets: {}<\/li>\n<li>Each pinned link has 2 sections (the link URL and the text title of the link) that are separated with commas<\/li>\n<li>Pinned link URLs are always formatted like this (INCLUDING quotes): <em>&#8220;url&#8221;:&#8221;http:\/\/cyclops.creed3.com\/&#8221;<\/em><\/li>\n<li>Pinned link text titles are always formatted like this (INCLUDING quotes): <em>&#8220;title&#8221;:&#8221;c y c l o p s&#8221;<\/em>, unless there is no text title such as with google in the example above, which is null without the quotes like this: <em>&#8220;title&#8221;:null<\/em><\/li>\n<\/ul>\n<p>One trick I&#8217;ve discovered so far is if you really don&#8217;t want the random links coming up in the non-pinned places, instead of having no entry (at the end of the list) or a null entry, you can use this to pin an empty link and stop the random links: <em>{&#8220;url&#8221;:null,&#8221;title&#8221;:null}<\/em><\/p>\n<p>If all of this makes sense to you, all that&#8217;s left to do is to carefully edit away, following the above rules. &nbsp;Make sure the final edit is all on one line, copy and paste in to the value for the Preference <em>browser.newtabpage.pinned<\/em>. &nbsp;You&#8217;ll need to restart FF to see your changes.<\/p>\n<p>If during editing you discover some addition rules or gotchas that come in to play, please comment here or drop me a line so I can include it here.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re a Firefox user, you&#8217;ve no doubt noticed for some time now when you open a new tab you are greeted by a large set of 9 icons and links for some of the sites you visit most often. &nbsp;You may also have noticed that they seem to change over time, but that you [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,16],"tags":[],"class_list":["post-653","post","type-post","status-publish","format-standard","hentry","category-online","category-technology"],"views":2019,"_links":{"self":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=653"}],"version-history":[{"count":0,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions"}],"wp:attachment":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}