Kirill N Posted October 16, 2015 Posted October 16, 2015 In 4.1, a pause sign appears in the page title if you get disconnected from the internet. It's really confusing and annyoing, is there an option to remove it?
Kirill N Posted October 16, 2015 Author Posted October 16, 2015 6 minutes ago, Marius said: I think it's a useful thing. How? I've never seen a site do this before, ever.
Rhett Posted October 16, 2015 Posted October 16, 2015 Can you clarify how this would be an annoyance? How often do you lose connection to the internet?
Kirill N Posted October 16, 2015 Author Posted October 16, 2015 13 minutes ago, Rhett said: Can you clarify how this would be an annoyance? How often do you lose connection to the internet? Every time I close my laptop and open it back, the wi-fi has to reconnect and I see that sign each time (if I had an IPS site open in my browser, of course). It's annoying because it's unusual behavior for a tab, and it attracts my attention for no reason. The title should only change when there's something new on a page, for example, Twitter indicates the number of new tweets on your timeline, while Facebook shows you the number of new messages if you have any. What is the pause sign indicating? That my wi-fi got disconnected? Why?
Management Charles Posted October 16, 2015 Management Posted October 16, 2015 It's an icon the indicates the polling for the instance notifications is paused.
Kirill N Posted October 16, 2015 Author Posted October 16, 2015 15 minutes ago, Charles said: It's an icon the indicates the polling for the instance notifications is paused. Do you really think this information is important enough to be displayed as a large black icon in the title? By the way, this is what my bookmarks look like on my phone...
Joel R Posted October 17, 2015 Posted October 17, 2015 While this is minor in the grand scheme of things, I also view the pause as a negative. A negative that ... Is unnecessary to the user.
Kirill N Posted October 18, 2015 Author Posted October 18, 2015 Does anybody know how to manually remove it? Which file should I edit?
Kirill N Posted October 22, 2015 Author Posted October 22, 2015 On 10/18/2015, 1:22:08, Kirill N said: Does anybody know how to manually remove it? Which file should I edit? Bump. I searched the files and the templates but I can't find the bit with the pause sign. Any help would be appreciated.
Daniel F Posted October 22, 2015 Posted October 22, 2015 This is handled via the core.front.core.instantNotifications js controller
Nathan Explosion Posted October 22, 2015 Posted October 22, 2015 The JS code line you need to search for in the database is: document.title="❚❚ "+document.title.replace If you don't find a match for that exactly then search for: document.title.replace and you should find a few matches in the core_javascript table. Change at your own risk.
Kirill N Posted October 22, 2015 Author Posted October 22, 2015 Thank you so much Daniel and Nathan! I found the following bit in the javascript.xml file: if( this._paused ){ document.title = document.title.replace( "❚❚ ", '' ); this._checkNotifications(); // Do an immediate check this._setInterval( this._pollTimeout ); } Is it safe to remove the "document.title = document.title.replace( "❚❚ ", '' );" line?
Nathan Explosion Posted October 22, 2015 Posted October 22, 2015 I would expect so - but will changing the xml file then update the content in the database? (No idea here) Plus there may be other references to the pause sign in there too.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.