Browse Source

fix: Centbrowser bug workaround for `defer`

tophf 3 years ago
parent
commit
8e0f1aa168
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/plaid.conf.js

+ 1 - 0
scripts/plaid.conf.js

@@ -18,6 +18,7 @@ exports.pages = [
       ...options,
       title: 'Violentmonkey',
       injectTo: item => ((item.attributes.src || '').endsWith('/index.js') ? 'body' : 'head'),
+      scriptLoading: 'blocking', // we don't need `defer` and it breaks in some browsers, see #1632
     })),
   },
 }), {});