Преглед изворни кода

0285: Flash Aidan's Android TV 9 S905x (Sunvell T95x)

i12bretro пре 3 година
родитељ
комит
1d71ac6881
1 измењених фајлова са 13 додато и 5 уклоњено
  1. 13 5
      0285.html

+ 13 - 5
0285.html

@@ -33,9 +33,15 @@
             $(document).on('click','input.copy-text',function(){
               theButton = $(this);
 														$('input.copy-text').attr('src','images/clipboard.png');
-							              $('span.copy-animation').removeClass('copy-animation');
+							              $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
               try {
-                $('#'+ theButton.attr('rel')).addClass('copy-animation');
+                if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
+								} else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
+									$('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
+                } else {
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation');
+                }
                 navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
 																theButton.attr('src','images/clipboard_active.png');
 								              } catch(err) {
@@ -57,8 +63,8 @@
             });
 
             if(window.self !== window.top){
-              window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
-            }
+															window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
+							            }
           });
         </script>
         <link href="css/steps.css" rel="stylesheet" type="text/css" />
@@ -71,7 +77,9 @@
           </div>
           <div></div>
           <div id="content">
-          <ol>
+          <p><em>DISCLAIMER: This process will overwrite the current Android ROM on your TV box. I have tested these steps on my own devices, but I am not responsible if you damage or brick your device. Verify the ROM will work on your device before starting and make sure to backup any data you do not want to lose before proceeding.</em></p>
+
+<ol>
 	<li>Download Aidan&#39;s Android TV 9 ROM <a href="https://mega.nz/folder/oopSSAQD#PfGezUFtzbLsoNfYlymGfw" target="_blank">Download</a></li>
 	<li>Download Amlogic Burning Tool v2.2.0 <a href="https://drive.google.com/file/d/1OU_O7qq_mtpRO8ELWhycQD4R036Nw0iW/view" target="_blank">Download</a></li>
 	<li>Optional, Download Magisk v20.4 for root access <a href="https://drive.google.com/file/d/1_YblR6FEbkE7hQbSrG9HRcSYUiIVCpd3/view?usp=sharing" target="_blank">Download</a>