Advertisement
Czogista

Menogram wyłączenie LF ver 3+

Jul 18th, 2021 (edited)
2,353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         disableLF (Menogram 3+)
  3. // @namespace    https://czogi.usermd.net
  4. // @version      0.1
  5. // @description  Wyłącza lootFilter w menoframie wersji 3+
  6. // @author       Czogi
  7. // @include      /http[s]{0,1}:\/\/[a-z]{4,15}\.margonem\.pl/
  8. // @noframes
  9. // @icon         https://www.google.com/s2/favicons?domain=margonem.pl
  10. // @grant        unsafeWindow
  11. // ==/UserScript==
  12.  
  13. "use-strict"
  14.  
  15. {
  16.   if (unsafeWindow !== "undefined") {
  17.     window = unsafeWindow;
  18.   }
  19.   ((oldEval) => {
  20.     window.eval = function (arg) {
  21.       if (arg.includes("(()=>{window.lf=new class{constructor()")) {
  22.         return;
  23.       }
  24.       oldEval.apply(this, arguments);
  25.     };
  26.   })(window.eval);
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement