Advertisement
Guest User

Free Symbolab Pro Tampermonkey Script

a guest
Jul 15th, 2020
5,252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Symbolab Pro
  3. // @namespace    http://tampermonkey.net/
  4. // @version      0.1
  5. // @description  Symbolab pro for free
  6. // @author       J. Lawrence
  7. // @match        https://www.symbolab.com/
  8. // @include      https://*symbolab.com/*
  9. // @grant        none
  10. // ==/UserScript==
  11.  
  12. (function () {
  13.     'use strict';
  14.  
  15.     var code = `window.onload = function(){
  16.         /* set subscription params */
  17.         if (typeof(SYSTEPS) != 'undefined') { SYSTEPS.subscribed = true };
  18.         if (typeof(SOLUTIONS) != 'undefined') { SOLUTIONS.subscribed = true };
  19.         if (typeof(SYMBOLAB) != 'undefined') { SYMBOLAB.params.subscribed = true };
  20.         isUserLoggedIn = function() { return true; }
  21.  
  22.         /* remove popup when verify solution box is clicked */
  23.         if ($("#click-capture")) {
  24.             $("#click-capture").addClass("click-capture-subscribed");
  25.         }
  26.     }`;
  27.  
  28.     document.documentElement.setAttribute('onreset', code);
  29.     document.documentElement.dispatchEvent(new CustomEvent('reset'));
  30.     document.documentElement.removeAttribute('onreset');
  31. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement