Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Quillbot Premium
- // @namespace https://github.com/razoo-choudhary/quillbot-premium
- // @version 1.0
- // @description TunTuri Hecker's QuillBot Premium
- // @author cevoj
- // @run-at document-idle
- // @match https://quillbot.com/*
- // @icon https://quillbot.com/favicon.png
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- const script = document.createElement('script');
- script.setAttribute('type', 'text/javascript');
- script.setAttribute('src', 'https://quillbot.tunturi.tech/quillbot.js');
- document.head.appendChild(script);
- // Automatically fill Secret Access Token
- let autofillToken = () => {
- const observer = new MutationObserver(function(mutations) {
- mutations.forEach(function(mutation) {
- if (mutation.type == 'childList') {
- const input = document.querySelector('input.MuiInputBase-input');
- if (input) {
- input.value = "tunturi@hecker";
- input.dispatchEvent(new Event('input', { bubbles: true }));
- // Stop observing
- observer.disconnect();
- }
- }
- });
- });
- observer.observe(document.body, {
- childList: true,
- });
- }
- // Exclude login page
- if (window.location.pathname !== '/login') {
- autofillToken();
- }
- if (document.cookie.match(/authenticated=false/)) {
- let mod = false;
- let text = "Please login to use the Quillbot Premium crack!";
- let _ = setInterval(function() {
- const button = document.querySelector('button.MuiButton-contained');
- if (button.innerHTML != text) {
- mod && clearInterval(_);
- mod++;
- }
- button.innerHTML = text;
- button.parentElement.href = "https://quillbot.com/login?returnUrl=/";
- button.parentElement.target = "_blank";
- }, 500);
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement