ontools.net bypass

Decrypts the URL on ontools.net and redirects to the decrypted URL

  1. // ==UserScript==
  2. // @name ontools.net bypass
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Decrypts the URL on ontools.net and redirects to the decrypted URL
  6. // @author Your name
  7. // @match *.ontools.net/*
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. // Function to remove <h1> headers
  16. function removeHeaders() {
  17. var headers = document.querySelectorAll('h1, h2, h3');
  18. headers.forEach(function(header) {
  19. header.remove();
  20. });
  21. }
  22.  
  23. // Function to remove <span> elements
  24. function removeSpans() {
  25. var spans = document.querySelectorAll('span');
  26. spans.forEach(function(span) {
  27. span.remove();
  28. });
  29. }
  30.  
  31. // Function to remove <p> elements
  32. function removeParagraphs() {
  33. var paragraphs = document.querySelectorAll('p');
  34. paragraphs.forEach(function(paragraph) {
  35. paragraph.remove();
  36. });
  37. }
  38.  
  39. // Function to remove <nav> elements
  40. function removeNavs() {
  41. var navs = document.querySelectorAll('nav');
  42. navs.forEach(function(nav) {
  43. nav.remove();
  44. });
  45. }
  46.  
  47. // Function to remove <b> elements
  48. function removeBold() {
  49. var bolds = document.querySelectorAll('b');
  50. bolds.forEach(function(bold) {
  51. bold.remove();
  52. });
  53. }
  54.  
  55. // Function to remove <table> elements
  56. function removeTables() {
  57. var tables = document.querySelectorAll('table');
  58. tables.forEach(function(table) {
  59. table.remove();
  60. });
  61. }
  62.  
  63. removeHeaders();
  64. removeSpans();
  65. removeParagraphs();
  66. removeNavs();
  67. removeBold();
  68. removeTables();
  69.  
  70. $.urlParam = function(name) {
  71. var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
  72. if (results == null) {
  73. return null;
  74. } else {
  75. return decodeURI(results[1]) || 0;
  76. }
  77. };
  78.  
  79. var decryptedUrl = aesCrypto.decrypt(apps2app($.urlParam('o')), apps2app('root'));
  80.  
  81. window.location.href = decryptedUrl;
  82. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址