File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/**
22 * article-sequence-optimizer.js
33 * * Strategy:
4- * 1. Iframes/Ads -> CSS content-visibility ( Prevents reloads/flicker )
4+ * 1. Iframes (ignore ads) -> CSS content-visibility ( Prevents reloads/flicker )
55 * 2. Text/Images -> DOM Detachment ( Reduces DOM size/INP )
66 * 3. Security -> Uses direct node references ( No innerHTML/XSS risk )
77 * 4. Stability -> Implements LRU Caching to prevent memory leaks
6666 }
6767
6868 if ( hasEmbeds ( el ) ) {
69- // STRATEGY A: IFRAME ( CSS Hide ) - Secure against ad re-triggering
69+ // STRATEGY A: IFRAME ( CSS Hide ) - Secure against emmbeds re-initialization
7070 el . classList . add ( 'inp-article-visibility-optimized' ) ;
7171 } else {
7272 // STRATEGY B: DETACHMENT ( Memory Move ) - Secure against XSS
You can’t perform that action at this time.
0 commit comments