@@ -111,6 +111,29 @@ <h3>
111111
112112 < section id ="android-static " style ="display: none; ">
113113 < h3 > Dark Reader for Android</ h3 >
114+ < div class ="firefox " style ="display: none; ">
115+ < h4 >
116+ Mozilla Firefox
117+ </ h4 >
118+ < p class ="mini-instruction ">
119+ < img class ="mini-instruction-icon " src ="/images/icon-android-dark.svg ">
120+ ➡
121+ < img class ="mini-instruction-icon " src ="/images/icon-firefox-87x82.svg ">
122+ ➡
123+ < img class ="mini-instruction-icon " src ="/images/icon-256.png ">
124+ </ p >
125+ < p >
126+ Please use the following link to install < strong style ="white-space: pre; "> Dark Reader</ strong >
127+ for < strong style ="white-space: pre; "> Mozilla Firefox</ strong > browser:< br >
128+ < a data-s ="drff-qr-text "
129+ href ="https://addons.mozilla.org/en-GB/android/addon/darkreader/ ">
130+ https://addons.mozilla.org/en-GB/android/addon/darkreader/
131+ </ a >
132+ </ p >
133+ < h4 >
134+ Microsoft Edge
135+ </ h4 >
136+ </ div >
114137 < p class ="mini-instruction ">
115138 < img class ="mini-instruction-icon " src ="/images/icon-android-dark.svg ">
116139 ➡
@@ -148,12 +171,7 @@ <h3>
148171 </ a >
149172 </ p >
150173 < h3 > Android</ h3 >
151- < div id ="firefox " style ="display: none; ">
152- < script >
153- if ( location . hash . includes ( 'firefox' ) ) {
154- document . getElementById ( 'firefox' ) . style . display = '' ;
155- }
156- </ script >
174+ < div class ="firefox " style ="display: none; ">
157175 < h4 >
158176 Mozilla Firefox
159177 </ h4 >
218236 sectionAndroidStatic . style . display = 'block' ;
219237 sectionUnrecognized . style . display = 'none' ;
220238 }
239+ if ( location . hash . includes ( 'firefox' ) ) {
240+ document . querySelectorAll ( '.firefox' ) . forEach ( ( el => el . style . display = '' ) ) ;
241+ }
221242 } ) ( ) ;
222243 </ script >
223244
0 commit comments