Discussions » Demandes de création de scripts

Removing Google bar in the Firefox New Tab

Deleted user 4161
§
Posté le: 15/08/2014

Removing Google bar in the Firefox New Tab

I'd like to remove the new google bar in the New Tab page in firefox.

I know something of HTML and CSS but I wouldn't know how to start writing a script.

Just deleting the

should work. But if you'd like to do more it should be awesome to entirely rip the page (I wasn't able to do that, it might have something to do with the firefox extension files) and enable some customization (you could also just help me to rip the page, then I'd be able to modify it myself and set it as my homepage).

Thanks to anyone that is reading this, I hope someone will also help ;)

There is at least one Stylish user style to hide the search bar: https://userstyles.org/styles/103765/fx-31-about-newtab-hide-the-search-bar

Because user scripts have limited ability to modify about: pages like about:newtab, you might need an extension to make more extensive changes.

§
Posté le: 15/08/2014
Édité le: 15/08/2014

It's quite simple, install Stylish, click Stylish toolbarbutton/Write new blank style/paste this code in the editor:

@-moz-document url("about:newtab"){

#newtab-search-container,
#newtab-margin-undo-container,
#newtab-margin-top,
#newtab-margin-bottom
{ display: none !important; }

#newtab-grid
{ margin-top: 12px !important; } }

It hides everything except for the tabs and that silly 'Hide new Tab Page' button.

Poster une réponse

Connectez-vous pour poster une réponse.