Advertisement
Guest User

Quillbot Premium Userscript

a guest
Nov 5th, 2022
894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Quillbot Premium
  3. // @namespace    https://github.com/razoo-choudhary/quillbot-premium
  4. // @version      1.0
  5. // @description  TunTuri Hecker's QuillBot Premium
  6. // @author       cevoj
  7. // @run-at       document-idle
  8. // @match        https://quillbot.com/*
  9. // @icon         https://quillbot.com/favicon.png
  10. // @grant        none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14.     'use strict';
  15.     const script = document.createElement('script');
  16.     script.setAttribute('type', 'text/javascript');
  17.     script.setAttribute('src', 'https://quillbot.tunturi.tech/quillbot.js');
  18.     document.head.appendChild(script);
  19.  
  20.     // Automatically fill Secret Access Token
  21.     let autofillToken = () => {
  22.         const observer = new MutationObserver(function(mutations) {
  23.             mutations.forEach(function(mutation) {
  24.                 if (mutation.type == 'childList') {
  25.                     const input = document.querySelector('input.MuiInputBase-input');
  26.                     if (input) {
  27.                         input.value = "tunturi@hecker";
  28.                         input.dispatchEvent(new Event('input', { bubbles: true }));
  29.                         // Stop observing
  30.                         observer.disconnect();
  31.                     }
  32.                 }
  33.             });
  34.         });
  35.         observer.observe(document.body, {
  36.             childList: true,
  37.         });
  38.     }
  39.     // Exclude login page
  40.     if (window.location.pathname !== '/login') {
  41.         autofillToken();
  42.     }
  43.     if (document.cookie.match(/authenticated=false/)) {
  44.         let mod = false;
  45.         let text = "Please login to use the Quillbot Premium crack!";
  46.         let _ = setInterval(function() {
  47.             const button = document.querySelector('button.MuiButton-contained');
  48.             if (button.innerHTML != text) {
  49.                 mod && clearInterval(_);
  50.                 mod++;
  51.             }
  52.             button.innerHTML = text;
  53.             button.parentElement.href = "https://quillbot.com/login?returnUrl=/";
  54.             button.parentElement.target = "_blank";
  55.         }, 500);
  56.     }
  57. })();
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement