Q Unlocker

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

// ==UserScript==

// @name Quillbot Premium Unlocker


// @namespace quillbot.taozhiyu.gitee.io
// @version 0.2
// @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/465276/Quillbot%20Premium
%20Unlocker.user.js
// @updateURL https://update.greasyfork.org/scripts/465276/Quillbot%20Premium
%20Unlocker.meta.js
// ==/UserScript==
/* global ajaxHooker*/
(function() {
'use strict';
// How's it going filthy code looker
ajaxHooker.hook(request => {
if (request.url.endsWith('get-account-details')) {
request.response = res => {
const json=JSON.parse(res.responseText);
const a="data" in json?json.data:json;
a.profile.accepted_premium_modes_tnc=true;
a.profile.premium=true;
res.responseText=JSON.stringify("data" in json?
(json.data=a,json):a);
};
}
});
})();

You might also like