Quillbot Premium Unlocker Tampermonkey script

 // ==UserScript==

// @name         Quillbot Premium Unlocker

// @namespace    quillbot.taozhiyu.gitee.io

// @version      0.3.1

// @description  Unlocks Quillbot Premium so that you don't have to pay.

// @author       longkidkoolstar

// @match        https://quillbot.com/*

// @icon         https://quillbot.com/favicon.png

// @require      https://greasyfork.org/scripts/455943-ajaxhooker/code/ajaxHooker.js?version=1124435

// @run-at       document-start

// @grant        none

// @license      none

// @downloadURL https://update.greasyfork.org/scripts/529232/Quillbot%20Premium%20Unlocker.user.js

// @updateURL https://update.greasyfork.org/scripts/529232/Quillbot%20Premium%20Unlocker.meta.js

// ==/UserScript==


(function() {

  'use strict';


  // Create an instance of the Ajax Hook library

  const ajaxHook = new AjaxHook();


  // Hooking AJAX request to unlock premium

  ajaxHook.onSuccess((request, response) => {

    if (request.url.includes('/account')) {

      // Parse the JSON response as a JavaScript object

      const accountData = JSON.parse(response.responseText);


      // Update the accepted_premium_modes_tnc and premium properties of the account data

      accountData.accepted_premium_modes_tnc = true;

      accountData.premium = true;


      // Update the response with the modified account data

      response.responseText = JSON.stringify(accountData);

    }

  });


  // Create a popup notification when the script is loaded

  document.addEventListener('DOMContentLoaded', () => {

    const popup = document.createElement('div');

    popup.innerHTML = `

      <p>Join our Discord community for a WORKING SCRIPT with CONTINUOUS UPDATES and more features which now

unlocks everything in Quillbot, not only the paraphrasing tool!</p>

      <a href="https://discord.gg/JrweGzdjwA" target="_blank">Join Discord</a>

    `;

    popup.style.position = 'fixed';

    popup.style.bottom = '20px';

    popup.style.right = '20px';

    popup.style.padding = '15px';

    popup.style.backgroundColor = '#f9f9f9';

    popup.style.boxShadow = '0px 4px 6px rgba(0, 0, 0, 0.1)';

    popup.style.border = '1px solid #ccc';

    popup.style.borderRadius = '8px';

    popup.style.zIndex = '10000';

    popup.style.fontFamily = 'Arial, sans-serif';

    popup.style.color = '#333';


    const closeButton = document.createElement('button');

    closeButton.textContent = '✖';

    closeButton.style.position = 'absolute';

    closeButton.style.top = '5px';

    closeButton.style.right = '5px';

    closeButton.style.background = 'none';

    closeButton.style.border = 'none';

    closeButton.style.cursor = 'pointer';

    closeButton.style.fontSize = '16px';

    closeButton.style.color = '#333';


    closeButton.addEventListener('click', () => {

      popup.remove();

    });


    popup.appendChild(closeButton);

    document.body.appendChild(popup);

  });

})();

Comments