// ==UserScript==
// @name       Open Closed Vines 
// @namespace  http://nindogo.tumblr.com/
// @version    0.1.0.2
// @description  vine Auto Scroll
// @match      https://vine.co/*
// @downloadURL https://github.com/nindogo/test_repo/raw/master/openClosedVines.user.js
// @run-at  document-end
// @copyright  2014+, Nindogo
// ==/UserScript==

var x,i;

window.onscroll = openVines;


function openVines() {
    x= document.getElementsByClassName("small");
    for (i = (x.length-1); i > -1; i--) {
        console.log(i);
        console.log(x[i]);
        try{
            x[i].click();  
        }
        catch (error){
            console.log("during "+i+" I caught error: "+error.type+" with message: "+error.message);
        }
    }
}

@@ -30,26 +30,28 @@
     
-O
+o
 pen 
-Closed
+sensitive
  Vines
- 
 %0A// 
@@ -110,17 +110,17 @@
   0.1.0.
-2
+3
 %0A// @des
@@ -133,24 +133,54 @@
 on  
-vine Auto Scroll
+open vines that are hidden due to sensitivity.
 %0A// 
@@ -376,17 +376,8 @@
 ==%0A%0A
-var x,i;%0A
 %0Awin
@@ -386,14 +386,12 @@
 w.on
-scroll
+load
  = o
@@ -401,17 +401,16 @@
 Vines;%0A%0A
-%0A
 function
@@ -428,17 +428,41 @@
 ) %7B%0A    
-x
+var i, j, x, y, z;%0A    x 
 = docume
@@ -497,16 +497,43 @@
 mall%22);%0A
+    console.log(x.length);%0A
     for 
@@ -546,17 +546,19 @@
 x.length
--
+ - 
 1); i %3E 
@@ -630,16 +630,17 @@
      try
+ 
 %7B%0A      
@@ -658,18 +658,16 @@
 click();
-  
 %0A       
@@ -668,24 +668,16 @@
        %7D
-%0A       
  catch (
@@ -682,16 +682,17 @@
  (error)
+ 
 %7B%0A      
@@ -722,11 +722,15 @@
 ng %22
-+i+
+ + i + 
 %22 I 
@@ -744,17 +744,19 @@
 error: %22
-+
+ + 
 error.ty
@@ -757,17 +757,19 @@
 ror.type
-+
+ + 
 %22 with m
@@ -777,17 +777,19 @@
 ssage: %22
-+
+ + 
 error.me

Update openClosedVines.user.js