streamcheck.link skipper

20.01.2024 23:02:46

  1. // ==UserScript==
  2. // @name streamcheck.link skipper
  3. // @namespace Violentmonkey Scripts
  4. // @match https://streamcheck.link/*
  5. // @grant none
  6. // @version 1.0
  7. // @author -
  8. // @license MIT
  9. // @description 20.01.2024 23:02:46
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. // Sayfa yüklendiğinde çalışacak fonksiyon
  16. window.addEventListener('load', function() {
  17. // Sayfadaki tüm script etiketlerini al
  18. var scripts = document.getElementsByTagName('script');
  19. for (var i = 0; i < scripts.length; i++) {
  20. var script = scripts[i].innerHTML;
  21. // Eğer script içinde window.location.href varsa
  22. if (script.includes('window.location.href')) {
  23. // URL'yi yakala
  24. var urlMatch = script.match(/window\.location\.href\s*=\s*'(.*?)'/);
  25. if (urlMatch && urlMatch[1]) {
  26. // Yakalanan URL'ye yönlendir
  27. window.location.href = urlMatch[1];
  28. }
  29. }
  30. }
  31. });
  32. })();