Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

When will App Tabs glow?

  • 1 baphendule
  • 18 zinale nkinga
  • 12 views
  • Igcine ukuphendulwa ngu mrmr1993

more options

I checked the "What are App Tabs?" and read the following descriptions:

App Tabs notify you with a blue highlight when they change.

  • If you have Gmail set as an App Tab, for example, and you are using a different tab when a new email is received, your Gmail tab will glow.

I'm wondering the exact meaning of "change" because after I pinned Weibo.com(biggest twitter-like website in China) as an App Tab, new messages won't make the tab look different. So I want to know if there is an API to do the job or it's just the customized feature for only limited websites by Firefox itself. Thanks!

I checked the "What are App Tabs?" and read the following descriptions: App Tabs notify you with a blue highlight when they '''change'''. * If you have Gmail set as an App Tab, for example, and you are using a different tab when a new email is received, your Gmail tab will glow. I'm wondering the exact meaning of "change" because after I pinned Weibo.com(biggest twitter-like website in China) as an App Tab, new messages won't make the tab look different. So I want to know if there is an API to do the job or it's just the customized feature for only limited websites by Firefox itself. Thanks!

Okulungisiwe ngu justineo

Isisombululo esikhethiwe

Quite simply, the blue highlight is caused by a change in title. It was a fix implemented in response to the bug "App Tabs should indicate change of state in <title>".

For proof of the above, enter the JavaScript code from here in the address bar and press enter. The App Tab will then turn blue every time it loses focus, until it is next refreshed.

Brief explaination: The code adds an event listener to change the title to a random number every time the tab is changed (ie. a blur event is fired). The containing void sets the return value to undefined, so the document content is not changed (which it would be otherwise). JavaScript is a client-side (user-end) scripting language that can modify HTML (website) content throughout the duration of a single page (ie. until a new page is loaded/the same page is reloaded), and is built into all popular browsers, along with the ability to access it through the "javascript:" address protocol.

For the case of weibo.com, you would be well advised to have a look at the greasemonkey add-on for firefox, and either create your own script or persuade a friendly JavaScript coder to make one for you, that changes the title whenever a new message is received.

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 5

All Replies (1)

more options

Isisombululo Esikhethiwe

Quite simply, the blue highlight is caused by a change in title. It was a fix implemented in response to the bug "App Tabs should indicate change of state in <title>".

For proof of the above, enter the JavaScript code from here in the address bar and press enter. The App Tab will then turn blue every time it loses focus, until it is next refreshed.

Brief explaination: The code adds an event listener to change the title to a random number every time the tab is changed (ie. a blur event is fired). The containing void sets the return value to undefined, so the document content is not changed (which it would be otherwise). JavaScript is a client-side (user-end) scripting language that can modify HTML (website) content throughout the duration of a single page (ie. until a new page is loaded/the same page is reloaded), and is built into all popular browsers, along with the ability to access it through the "javascript:" address protocol.

For the case of weibo.com, you would be well advised to have a look at the greasemonkey add-on for firefox, and either create your own script or persuade a friendly JavaScript coder to make one for you, that changes the title whenever a new message is received.