File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "manifest_version" : 3 ,
33 "name" : " __MSG_appName__" ,
4- "version" : " 1.5.11 " ,
4+ "version" : " 1.5.12 " ,
55 "description" : " __MSG_appDesc__" ,
66 "default_locale" : " en" ,
77 "permissions" : [
Original file line number Diff line number Diff line change @@ -319,6 +319,8 @@ const M3U8_PLUGIN = {
319319 reasons : [ 'BLOBS' ] ,
320320 justification : 'Merging video segments into a single file.'
321321 } ) ;
322+ // Give the offscreen script some time to load (fixes race condition)
323+ await new Promise ( r => setTimeout ( r , 500 ) ) ;
322324 } catch ( e ) {
323325 console . error ( 'Failed to create offscreen document:' , e ) ;
324326 this . _offscreenPromise = null ;
@@ -336,7 +338,8 @@ const M3U8_PLUGIN = {
336338 this . _fallbackTabPromise = null ;
337339 reject ( new Error ( chrome . runtime . lastError . message ) ) ;
338340 } else {
339- resolve ( ) ;
341+ // Give the tab and its scripts some time to initialize (critical for Safari)
342+ setTimeout ( resolve , 1000 ) ;
340343 }
341344 } ) ;
342345 } ) ;
Original file line number Diff line number Diff line change @@ -71,8 +71,7 @@ table {
7171 border-collapse : collapse;
7272 background-color : # fff ;
7373 border-radius : 6px ;
74- /* overflow: hidden; */
75- /* Removing this to allow sticky header to work better if needed, but the container has overflow-y auto */
74+ table-layout : fixed; /* Force fixed layout for strict column handling */
7675 box-shadow : 0 1px 3px rgba (0 , 0 , 0 , 0.1 );
7776}
7877
8281 padding : 10px ;
8382 border-bottom : 1px solid # eee ;
8483 font-size : 13px ;
84+ overflow : hidden; /* Prevent content spill */
85+ text-overflow : ellipsis;
86+ white-space : nowrap;
8587}
8688
8789/* Adjust column widths */
8890th : nth-child (1 ),
8991td : nth-child (1 ) {
90- width : auto;
92+ width : 260 px ; /* Fixed width for filename */
9193}
9294
9395th : nth-child (2 ),
9496td : nth-child (2 ) {
95- width : 80 px ;
97+ width : 70 px ;
9698}
9799
98100th : nth-child (3 ),
99101td : nth-child (3 ) {
100- width : 80 px ;
102+ width : 70 px ;
101103}
102104
103105th : nth-child (4 ),
109111 background-color : # f5f5f5 ;
110112 font-weight : 500 ;
111113 color : # 555 ;
112- position : sticky;
113- top : 0 ;
114- z-index : 1 ;
115114}
116115
117116tr : last-child td {
@@ -126,7 +125,7 @@ tr:last-child td {
126125}
127126
128127.filename {
129- max-width : 300 px ;
128+ max-width : 240 px ; /* Reduced to fit in 260px column with padding/gaps */
130129 white-space : nowrap;
131130 overflow : hidden;
132131 text-overflow : ellipsis;
You can’t perform that action at this time.
0 commit comments