Bläddra i källkod

docs: GF version hint

Sven 1 år sedan
förälder
incheckning
3d51c095f6
2 ändrade filer med 7 tillägg och 1 borttagningar
  1. 2 0
      README-summary.md
  2. 5 1
      README.md

+ 2 - 0
README-summary.md

@@ -79,6 +79,8 @@ If you like using this library, please consider [supporting the development ❤
     ```
     // @require https://openuserjs.org/src/libs/Sv443/UserUtils.js
     ```
+    (in order for your userscript not to break on a major library update, use the versioned URL at the top of the [GreasyFork page](https://greasyfork.org/scripts/472956-userutils))  
+      
     Then, access the functions on the global variable `UserUtils`:
     ```ts
     UserUtils.addGlobalStyle("body { background-color: red; }");

+ 5 - 1
README.md

@@ -73,7 +73,11 @@ If you like using this library, please consider [supporting the development ❤
   ```
   // @require https://greasyfork.org/scripts/472956-userutils/code/UserUtils.js
   ```
-
+  ```
+  // @require https://openuserjs.org/src/libs/Sv443/UserUtils.js
+  ```
+  (in order for your userscript not to break on a major library update, use the versioned URL at the top of the [GreasyFork page](https://greasyfork.org/scripts/472956-userutils))  
+    
   Then, access the functions on the global variable `UserUtils`:
   ```ts
   UserUtils.addGlobalStyle("body { background-color: red; }");