File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ <h3>Patreon</h3>
81
81
82
82
< script src ="content_script.js "> </ script >
83
83
< script src ="l10n.js "> </ script >
84
- < script src ="popup.js "> </ script >
85
84
< script type ="module " src ="popup.mjs "> </ script >
86
85
87
86
</ html >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -104,3 +104,9 @@ function previewfile(file) {
104
104
button_elem . addEventListener ( "click" , function ( ) {
105
105
browser . runtime . sendMessage ( { type : "send-image" , src : preview . getElementsByTagName ( "img" ) [ 0 ] . src } ) ;
106
106
} ) ;
107
+
108
+ for ( const elem of document . querySelectorAll ( "iframe" ) ) {
109
+ setInterval ( function ( ) {
110
+ elem . style . height = elem . contentWindow . document . body . scrollHeight + "px" ;
111
+ } , 1 ) ;
112
+ }
You can’t perform that action at this time.
0 commit comments