Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2009, 01:59 AM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Arrow Customize your "new tab" extension

Hello everyone !

Here is my first Chrome Extension, CustomNewTab !

This little extension will allow you to customize Chrome's default new tab.

Features :
  • Display/Hide the most visited speed dial.
  • Display/Hide the quick searches boxes.
  • Display/Hide the recent bookmarks box.
  • Display/Hide the recently closed tabs box.
  • Use a whole other page instead of the default new tab.
  • Insert another page as a frame inside your New Tab page.

Here is a screen shot of that last feature

Installation information :

Since extensions are still working only with Chrome 2.0+, you will need use the latest dev version of Chrome.
To change channel, see here.

Then, you need to download CustomNewTab.zip and extract it to any folder you like. Let's say C:\ChromeExtension.

Create a shortcut to chrome.exe.
Right click on that shortcut, go to properties.
Under "target", make sure you have

"YOUR_CHROME_EXE_PATH" --enable-extensions --load-extension="C:\ChromeExtension"

Of course, replace "C:\ChromeExtension" with the folder where you extracted the manifest.json and the custom_new_tab.js.

You can verify if everything is correctly installed by restarting Chrome.. then,
navigate to chrome-ui://extensions/ (simply paste it in your address bar) and you should see CustomNewTab there.

Now for the fun part !

Customizing your New Tab :

Right now, if everything is working as planned, your plugin is installed.. but your new tab will still be the same !
That is simply because you haven't customized it yet.

To do this, you need to go to your "C:\ChromeExtension" folder (or any other folder where you extracted the extension) and open with any text editor "custom_new_tab.js".

In there, there is a section with different variables which you can change.
More detailed instructions are offered inside the file.

Let's say you want to remove the Most Visited section of the new tab and use http://www.google.com inside a frame in your new tab.

You simply have to follow these (very) simple steps :
  1. find the "HIDE_MOST_VISITED" option.
  2. Modify it's value from false to true.
  3. Find the "DISPLAY_ANOTHER_PAGE_INSTEAD" variable.
  4. Modify it's value from 0 to 2.
  5. Find the "PAGE_TO_DISPLAY_URL" variable.
  6. Change it's value to "http://www.google.com/".
  7. Save.
  8. Open a new tab ! (no need to restart Chrome)

If you have any question or would like to see some new features, feel free to request them here or send me an email at " GuiSim@Gmail.com ".

Also, if there are any bugs, please tell me and I will do my best to fix them !

The code is released under GPL.


Thanks / Comments / Flames appreciated !

EDIT : Also, this extension could easily be a user script. If someone feels like doing a little conversion, feel free to do so.
I might do it myself if someone asks.

EDIT 2 : Version 0.3 -> Modified the option variables.

Last edited by Kyrax; 04-18-2009 at 03:04 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-16-2009, 04:21 AM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,411
Send a message via MSN to StevePaul
Default

Perhaps its just me (and not wanting to put a downer on what has obviously been a lot of work)...

But the majority of posts about the New Tab have all been about not displaying it with the Most Visited displayed, in particular a blank page was the expressed preference ...

So I guess what I'm asking is, where is the mileage in this extension
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-16-2009, 04:21 AM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default

Here are some more screenshots :





These are some of the configurations that you can have with customNewTab.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-16-2009, 04:26 AM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default

Quote:
Originally Posted by StevePaul View Post
Perhaps its just me (and not wanting to put a downer on what has obviously been a lot of work)...
No problem ! It's my first extension after all

Quote:
But the majority of posts about the New Tab have all been about not displaying it with the Most Visited displayed, in particular a blank page was the expressed preference ...
CustomNewTab can do that, you can easily set a blank page ( as you can see in the screenshots i posted ).

Quote:
So I guess what I'm asking is, where is the mileage in this extension
You can also set a totally different web page. If you want your igoogle, your own safari speed dial, your google finance page..
Any web page you can simply get it, either as a whole page when you create a new tab, or as a frame inside your customized new tab.

I hope that helps you see a little more uses for this extension .

Please if you have any suggestions of things you'd like to see, post them .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-16-2009, 06:38 AM
Clouds's Avatar
Senior Member
 
Join Date: Apr 2009
Location: in a box
Posts: 180
Send a message via MSN to Clouds
Default

Wow, I'm supprised the custom new tab worked and the NospeedDial and the adsweep didn't work. But it works great, so you deserve a pat on the back
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-16-2009, 08:40 PM
Luc VN's Avatar
Senior Member
 
Join Date: Sep 2008
Location: Belgium - Europe
Posts: 668
Default

There is a new version out Chrome Dev 2.0.174.0 which allows you to edit the thumbnails in "New Tab"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 04-16-2009, 10:24 PM
Stamga's Avatar
Super Moderator/Designer
 
Join Date: Mar 2009
Location: Qc, Canada
Posts: 599
Send a message via MSN to Stamga
Default

I like the features that the extension provides! Unbelievable for your first extension!
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 04-16-2009, 11:16 PM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,411
Send a message via MSN to StevePaul
Default

The new version of Chrome only allows you to delete thumbnails, actually it's pretty c***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 04-27-2009, 01:23 AM
StevePaul's Avatar
Senior Member
 
Join Date: Mar 2009
Location: Birmingham, England
Posts: 1,411
Send a message via MSN to StevePaul
Default

Just a thought ...

Could you write a little batch program like Waha did for Extension manager

http://www.chromeplugins.org/google/....html#post8374

Would save having to manually edit and save ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 04-27-2009, 03:56 AM
Senior Member
 
Join Date: Apr 2009
Location: Qc, Canada
Posts: 495
Default

Just to make sure i understand what you need..

You'd like me to create a .bat that would allow you to modify the JS via a simple command interface ?

Instead of double clicking on the .JS, double click on the .BAT and go through a DOS menu ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Block Flash + Disable "Most Visited Sites" calande Chrome Plugins 27 04-22-2009 07:45 AM
Links to "other sites" error in the Forum Calyp Chrome Talk 0 01-09-2009 09:13 PM
Make a "Kill Micro$oft's ChildsPlay" option! Calyp Chrome Talk 0 01-09-2009 08:14 PM




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 01:12 AM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John