Hello!
Is there a way to rename Gmail tabs, such as Social, Promotions, Updates and Forums? I know that Gmail does not provide this functionality out of the box. However, maybe there's a way to do it with AdBlock Plus custom CSS - but how?
Thank you!
Rename Gmail tabs (Social, Promotions, Updates, Forums)?
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Rename Gmail tabs (Social, Promotions, Updates, Forums)?
Hello,
Adblock Plus blocks things, while CSS changes the appearance of things. To change the title of a page, you need a user script.
https://addons.mozilla.org/firefox/addon/greasemonkey/
Adblock Plus blocks things, while CSS changes the appearance of things. To change the title of a page, you need a user script.
https://addons.mozilla.org/firefox/addon/greasemonkey/
Re: Rename Gmail tabs (Social, Promotions, Updates, Forums)?
Hi there,Gingerbread Man wrote:Hello,
Adblock Plus blocks things, while CSS changes the appearance of things. To change the title of a page, you need a user script.
https://addons.mozilla.org/firefox/addon/greasemonkey/
Thanks so much for your response! I am aware of that. However, Adblock Plus has an option of "custom CSS" - what is that then?
Thanks!
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Rename Gmail tabs (Social, Promotions, Updates, Forums)?
Element hiding rules let you hide parts of the web page.lisali wrote:However, Adblock Plus has an option of "custom CSS" - what is that then?
Thanks!
en/filters#elemhide
Custom CSS means you get to enter your own selector.
https://developer.mozilla.org/docs/Glos ... S_Selector
It doesn't mean you can apply any CSS you want to the page; only an equivalent of display: none !important is possible. That's a moot point anyway, since CSS has nothing to do with the page title, like I said earlier.
Re: Rename Gmail tabs (Social, Promotions, Updates, Forums)?
Hi,Gingerbread Man wrote:Element hiding rules let you hide parts of the web page.lisali wrote:However, Adblock Plus has an option of "custom CSS" - what is that then?
Thanks!
en/filters#elemhide
Custom CSS means you get to enter your own selector.
https://developer.mozilla.org/docs/Glos ... S_Selector
It doesn't mean you can apply any CSS you want to the page; only an equivalent of display: none !important is possible. That's a moot point anyway, since CSS has nothing to do with the page title, like I said earlier.
Thanks for your response.
"Display: none" is the default behaviour of any new filter. I get that. However, what is then the point of this, with the highlighted option of "Custom CSS"?
[img]
http://s3.postimg.org/qmv7h9d5f/ABP.png
[/img]
CSS does allow insertion of text "The ::before selector inserts content before the content of the selected element(s)." Also, I am NOT trying to change the page title. I was trying to change the title of a TAB within Gmail (Primary, Social, Promotions, etc.)
Thanks!
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Rename Gmail tabs (Social, Promotions, Updates, Forums)?
There's no such thing as "default behavior" for filters. Filters perform one of three functions:lisali wrote:"Display: none" is the default behaviour of any new filter. I get that.
- Blocking filters: prevent things from loading.
- Element hiding filters: hide parts of the web page. This is equivalent to display: none !important
- Exception filters: allow content that would otherwise be blocked or hidden by other filters.
I already answered that question right in the message you quoted.lisali wrote:However, what is then the point of this, with the highlighted option of "Custom CSS"?
Selectors are the only part of CSS relevant to Adblock Plus element hiding filters.lisali wrote:CSS does allow
Then you can use either Greasemonkey or Stylish.lisali wrote:Also, I am NOT trying to change the page title. I was trying to change the title of a TAB within Gmail (Primary, Social, Promotions, etc.)