1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-27 21:18:30 +00:00

Removed Firefox update warning. Made styles attempt to re-downlaod with new URLs upon error due to CDN issues. Made viewer list sorting optional. Added safety checks to API for non-global sets.

This commit is contained in:
SirStendec 2015-10-27 21:22:54 -04:00
parent acc0010247
commit a7f6e0b63f
6 changed files with 30 additions and 13 deletions

View file

@ -8,18 +8,6 @@ var FFZ = window.FrankerFaceZ;
FFZ.prototype.setup_notifications = function() {
this.log("Adding event handler for window focus.");
window.addEventListener("focus", this.clear_notifications.bind(this));
// Firefox update warning.
if ( navigator.userAgent.toLowerCase().indexOf('firefox/') !== -1 ) {
if ( localStorage.hasOwnProperty('ffz_mozilla_sign_warning') )
return;
localStorage.ffz_mozilla_sign_warning = true;
var f = this;
setTimeout(function() {
f.show_message('Firefox users please re-download the add-on from <a href="https://www.frankerfacez.com/" target="_new">https://www.frankerfacez.com/</a> to ensure that it continues to function after the upgrade to Firefox 41. You should see version 1.56 in your add-ons listing.');
}, 1000);
}
}