Explorar o código

Create new_myshows_bookmarklet.js

metya %!s(int64=4) %!d(string=hai) anos
pai
achega
dc38558af4
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  1. 14 0
      new_myshows_bookmarklet.js

+ 14 - 0
new_myshows_bookmarklet.js

@@ -0,0 +1,14 @@
+javascript: 
+(
+  function(){
+    Array
+      .from(document.getElementsByClassName("Row Unwatched-season"))
+      .forEach(
+          (entry) => {
+          if(entry.getElementsByTagName('svg')[0].className.animVal.includes('collapsed')){
+            entry.click()
+          }
+      }
+  ); 
+  alert('DONE!')}
+)();