P3DM Fast Download

Decryption and redirects by decrypted link

  1. // ==UserScript==
  2. // @name P3DM Fast Download
  3. // @description Decryption and redirects by decrypted link
  4. // @description:ru Расшифровка и перенаправления по расшифрованой ссылке
  5. // @namespace Violentmonkey Scripts
  6. // @icon https://www.google.com/s2/favicons?sz=64&domain=p3dm.ru
  7. // @version 1.0.2
  8. // @author Wizzergod
  9. // @license MIT
  10. // @match https://p3dm.ru/download-en.html*
  11. // @match https://p3dm.ru/download-*.html*
  12. // @match https://p3dm.ru/download.html*
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. function decryptCode(code) {
  20. return atob(code);
  21. }
  22.  
  23. function getDecryptedLink() {
  24. var url = window.location.href;
  25. var startIndex = url.indexOf('?') + 1;
  26. var code = url.substring(startIndex);
  27. var decryptedCode = decryptCode(code);
  28. var newLink = decryptedCode;
  29. return newLink;
  30. }
  31.  
  32. function navigateToDecryptedLink() {
  33. var newLink = getDecryptedLink();
  34. if (newLink) {
  35. window.location.href = newLink;
  36. }
  37. }
  38.  
  39. navigateToDecryptedLink();
  40. })();

QingJ © 2025

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