Selaa lähdekoodia

fix: rephrase + remove leftovers

tophf 4 vuotta sitten
vanhempi
sitoutus
3aff322e8b
2 muutettua tiedostoa jossa 4 lisäystä ja 6 poistoa
  1. 0 1
      scripts/webpack.conf.js
  2. 4 5
      src/_locales/en/messages.yml

+ 0 - 1
scripts/webpack.conf.js

@@ -75,7 +75,6 @@ const defsObj = {
     { key: 'SYNC_ONEDRIVE_CLIENT_SECRET' },
   ]),
   'process.env.INIT_FUNC_NAME': JSON.stringify(INIT_FUNC_NAME),
-  'process.env.VAULT_ID_NAME': JSON.stringify(VAULT_ID),
   'process.env.VAULT_ID': VAULT_ID,
   'process.env.HANDSHAKE_ID': HANDSHAKE_ID,
   'process.env.HANDSHAKE_ACK': '1',

+ 4 - 5
src/_locales/en/messages.yml

@@ -501,13 +501,12 @@ labelViewTable:
   description: Label for option in dashboard script list to show the scripts as a table.
   message: Table view
 labelXhrInject:
-  message: Synchronous (not recommended)
+  message: Synchronous
 labelXhrInjectHint:
   message: >-
-    Forcibly runs scripts early at the real `@run-at document-start`.
-    Same as Instant injection mode in Tampermonkey. Enable only if you have a script
-    that needs to run before the page starts loading and currently it's running too late.
-    This mode is using the deprecated synchronous XHR, so in Chrome/Chromium you'll
+    Enable only if you have a script that needs to run before the page starts loading
+    and currently it's running too late. Just like Instant injection mode in Tampermonkey,
+    this option is using the deprecated synchronous XHR, so in Chrome/Chromium you'll
     see warnings in devtools console, although you can safely ignore them
     as the adverse affects are negligible in this case.
     You can hide the warnings for good by right-clicking one.