Advertisement
BrotherCash

Quick cmsS3 access via alt+o

Sep 3rd, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Qiuck cmsS3 access
  3. // @version      0.1
  4. // @description  Qiuck cmsS3 access by alt+o
  5. // @author       @BrotherCash
  6. // @grant        none
  7. // @include     *.*
  8. // ==/UserScript==
  9.  
  10. setTimeout(() =>{
  11.     'use strict';
  12.     let site = window.$ite;
  13.     console.log(site);
  14.     site.params.trusted = true;
  15.     window.document.addEventListener("keydown", function(e) {
  16.         if (e.altKey && e.keyCode === 80) {
  17.             if (location.search.indexOf("profiling") === -1) {
  18.                 if (location.search.indexOf("?") === -1) {
  19.                     location.search += "?profiling=" + Math.round(Math.random() * 100000)
  20.                 } else {
  21.                     location.search += "&profiling=" + Math.round(Math.random() * 100000)
  22.                 }
  23.             }
  24.         }
  25.         if (e.altKey && e.keyCode === 79 && site.hasParam("domain") && site.hasParam("vid") && site.hasParam("aid")) {
  26.             site.window.open(window.atob("aHR0cDovLw==") + site.getParam("domain") + window.atob("L215L3MzL2RhdGEvbWVudS9kZWZhdWx0LnBocD9tY2E9") + site.getParam("aid") + window.atob("Jm1jcz0xJnZlcl9pZD0=") + site.getParam("vid"))
  27.         }
  28.     });
  29.  
  30. },500)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement