Explorar el Código

Create new_myshows_bookmarklet.js

metya hace 4 años
padre
commit
dc38558af4
Se han modificado 1 ficheros con 14 adiciones y 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!')}
+)();