Unsubscribe from all steam curators

Use this script you can unsubcribe easly from all steam curators.

  1. // ==UserScript==
  2. // @name Unsubscribe from all steam curators
  3. // @namespace https://gf.qytechs.cn/ru/users/237951-attention
  4. // @version 0.6
  5. // @description Use this script you can unsubcribe easly from all steam curators.
  6. // @author Attention
  7. // @include https://store.steampowered.com/curators/mycurators/*
  8. // @icon https://store.steampowered.com/favicon.ico
  9. // @grant GM_addStyle
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. try {
  15. let btn = document.createElement('input');
  16. btn.id = "btnUnSub"
  17. btn.type='button';
  18. btn.value='Unsubscribe';
  19. btn.onclick = unSub;
  20. document.body.append(btn);
  21. btn.setAttribute('style','top:110px;');
  22.  
  23. function unSub() {
  24. let yesNo = confirm('Unsubscribe from all curators?');
  25. if (yesNo) {
  26. var allCurators = getCount(); var count = 0;
  27. for (let cd in gFollowedCuratorIDs) {
  28. ++count;
  29. }
  30. count = Math.floor(count / 10);
  31.  
  32. for (var i = 0; i < count; i++) {
  33. setTimeout(function() {
  34. document.all.footer.scrollIntoView(true);
  35. }, 1200 * (i));
  36. }
  37.  
  38. allCurators = getCount();
  39. setTimeout(function() { for (let i = 0; i < allCurators.length; i++) {
  40. allCurators[i].click();
  41. process(i);
  42. }}, (count) * 1500);
  43.  
  44. function process(i) {
  45. setTimeout(function() {
  46. ShowBlockingWaitDialog('Execution...',`Unsubscribe ${i+1}/${allCurators.length}`);
  47. if (i+1 == allCurators.length) {
  48. ShowDialog('Done!',`You have successfully unsubscribed from ${allCurators.length} curators.`);
  49. location.reload();
  50. return;
  51. }
  52. }, 90 * i);
  53. }
  54.  
  55. function getCount(allCurators) {
  56. allCurators = document.getElementsByClassName('following_button btn_green_steamui btn_medium');
  57. return allCurators;
  58. }
  59. }
  60. }
  61.  
  62. GM_addStyle ( `
  63. #btnUnSub {
  64. position: absolute;
  65. right: 10px;
  66. font-size: 18px;
  67. background-color: white;
  68. color:#273d52;
  69. border: 1px solid green;
  70. padding:5px;
  71. cursor: pointer;
  72. width: 130px;
  73. }
  74. #btnUnSub:hover {
  75. background-color: #4CAF50;
  76. color: white;
  77. }
  78. ` );
  79. }
  80. catch(e) {
  81. console.error(e)
  82. }
  83. })();

QingJ © 2025

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