Quillbot Premium Unlocker

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

  1. // ==UserScript==
  2. // @name Quillbot Premium Unlocker
  3. // @namespace quillbot.taozhiyu.gitee.io
  4. // @version 0.3.1
  5. // @description Unlocks Quillbot Premium so that you don't have to pay.
  6. // @author longkidkoolstar
  7. // @match https://quillbot.com/*
  8. // @icon https://quillbot.com/favicon.png
  9. // @require https://greasyfork.org/scripts/455943-ajaxhooker/code/ajaxHooker.js?version=1124435
  10. // @run-at document-start
  11. // @grant none
  12. // @license none
  13. // ==/UserScript==
  14. /* global ajaxHooker*/
  15. (function() {
  16. 'use strict';
  17.  
  18. // Hooking AJAX request to unlock premium
  19. ajaxHooker.hook(request => {
  20. if (request.url.endsWith('get-account-details')) {
  21. request.response = res => {
  22. const json = JSON.parse(res.responseText);
  23. const a = "data" in json ? json.data : json;
  24. a.profile.accepted_premium_modes_tnc = true;
  25. a.profile.premium = true;
  26. res.responseText = JSON.stringify("data" in json ? (json.data = a, json) : a);
  27. };
  28. }
  29. });
  30.  
  31. // Create and display the popup
  32. window.addEventListener('load', () => {
  33. const popup = document.createElement('div');
  34. popup.style.position = 'fixed';
  35. popup.style.bottom = '20px';
  36. popup.style.right = '20px';
  37. popup.style.padding = '15px';
  38. popup.style.backgroundColor = '#f9f9f9';
  39. popup.style.boxShadow = '0px 4px 6px rgba(0, 0, 0, 0.1)';
  40. popup.style.border = '1px solid #ccc';
  41. popup.style.borderRadius = '8px';
  42. popup.style.zIndex = '10000';
  43. popup.style.fontFamily = 'Arial, sans-serif';
  44. popup.style.color = '#333';
  45. popup.style.textAlign = 'center';
  46.  
  47. const message = document.createElement('p');
  48. message.textContent = '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!';
  49. message.style.margin = '0 0 10px';
  50.  
  51. const link = document.createElement('a');
  52. link.href = 'https://discord.gg/JrweGzdjwA';
  53. link.textContent = 'Join Discord';
  54. link.style.color = '#007bff';
  55. link.style.textDecoration = 'none';
  56. link.style.fontWeight = 'bold';
  57. link.target = '_blank';
  58.  
  59. link.addEventListener('mouseover', () => link.style.textDecoration = 'underline');
  60. link.addEventListener('mouseout', () => link.style.textDecoration = 'none');
  61.  
  62. popup.appendChild(message);
  63. popup.appendChild(link);
  64.  
  65. const closeButton = document.createElement('button');
  66. closeButton.textContent = '✖';
  67. closeButton.style.position = 'absolute';
  68. closeButton.style.top = '5px';
  69. closeButton.style.right = '5px';
  70. closeButton.style.background = 'none';
  71. closeButton.style.border = 'none';
  72. closeButton.style.cursor = 'pointer';
  73. closeButton.style.fontSize = '16px';
  74. closeButton.style.color = '#333';
  75.  
  76. closeButton.addEventListener('click', () => {
  77. document.body.removeChild(popup);
  78. });
  79.  
  80. popup.appendChild(closeButton);
  81.  
  82. document.body.appendChild(popup);
  83. });
  84.  
  85. })();