Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

Commit

Permalink
Fixed some issue with the unread attribute patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Izheil committed May 23, 2019
1 parent 06fd44e commit dc8fa1f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Full dark theme/setAttribute_unread.uc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(function(){
if(location.href != 'chrome://browser/content/browser.xul') return;
if (location.href != 'chrome://browser/content/browser.xul' && !gBrowser.tabAnimationsInProgress && !aWebProgress.isLoadingDocument && Services.prefs.getBoolPref("toolkit.cosmeticAnimations.enabled")) return;

let func = {
add : function(e){
e.target.setAttribute('unread', 'true');
Expand Down
3 changes: 2 additions & 1 deletion Installers/Inst_files/chrome/setAttribute_unread.uc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(function(){
if(location.href != 'chrome://browser/content/browser.xul') return;
if (location.href != 'chrome://browser/content/browser.xul' && !gBrowser.tabAnimationsInProgress && !aWebProgress.isLoadingDocument && Services.prefs.getBoolPref("toolkit.cosmeticAnimations.enabled")) return;

let func = {
add : function(e){
e.target.setAttribute('unread', 'true');
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ basic css or <a href="https://www.w3schools.com/colors/colors_picker.asp">color
<br />
This problem doesn't happen if you use a code editor such as notepad++, atom, sublime text...</h4>

<h3>Last update: <b>12/05/2019</b></h3>
<h3>Last update: <b>23/05/2019</b></h3>
<p>Files updated:</p>
<ul>
<li><b>Userchrome.css</b>: Fixed white flashes on page pre-loading without affecting pages that use <code>about:blank</code>.</li>
<li><b>setAttribute_unread.uc.js</b>: Now the throbber shouldn't show over the icon when the page is loading because of tagging the unread attribute too early.</li>
</ul>
<h3>Pre-Last update: <b>06/05/2019</b></h3>
<h3>Pre-Last update: <b>12/05/2019</b></h3>
<p>Files updated:</p>
<ul>
<li><b>Usercontent.css</b>: Added a missing textarea box on mozilla addons page.</li>
<li><b>Addons.css</b>: Themed <a href="https://addons.mozilla.org/es/firefox/addon/video-downloader-player/">Ant Video Downloader</a> addon, and removed Flash Video Downloader (Mozilla took the original one down from their addons page).</li>
<li><b>Userchrome.css</b>: Fixed white flashes on page pre-loading without affecting pages that use <code>about:blank</code>.</li>
</ul>

<code>
Expand Down

0 comments on commit dc8fa1f

Please sign in to comment.