Browse Source

fix: update links

Gerald 7 years ago
parent
commit
643caa84db
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/injected/web/requests.js
  2. 1 1
      src/options/views/tab-settings/vm-blacklist.vue

+ 1 - 1
src/injected/web/requests.js

@@ -95,7 +95,7 @@ function start(req, id) {
     if (includes(['arraybuffer', 'blob'], responseType)) {
       payload.responseType = 'arraybuffer';
     } else if (!includes(['json'], responseType)) {
-      console.warn(`[Violentmonkey] Unknown responseType "${responseType}", see https://violentmonkey.github.io/api/gm.html#GM-xmlhttpRequest for more detail.`);
+      console.warn(`[Violentmonkey] Unknown responseType "${responseType}", see https://violentmonkey.github.io/api/gm/#gm_xmlhttprequest for more detail.`);
     }
   }
   encodeBody(details.data)

+ 1 - 1
src/options/views/tab-settings/vm-blacklist.vue

@@ -3,7 +3,7 @@
     <h3 v-text="i18n('labelBlacklist')"></h3>
     <p>
       {{i18n('descBlacklist')}}
-      <a href="https://violentmonkey.github.io/2017/04/15/Smart-rules-for-blacklist/#Blacklist-patterns" target="_blank" v-text="i18n('learnBlacklist')"></a>
+      <a href="https://violentmonkey.github.io/2017/04/15/Smart-rules-for-blacklist/#blacklist-patterns" target="_blank" v-text="i18n('learnBlacklist')"></a>
     </p>
     <setting-text name="blacklist" ref="blacklist" />
     <button v-text="i18n('buttonSaveBlacklist')" @click="onSave"></button>