Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var bypassroot = document.getElementsByClassName("cellcontainer");
- if (bypassroot.length === 1){
- var bypassroot = bypassroot[0];
- if (bypassroot.getElementsByClassName("content-subtitle").length === 0){
- window.location.replace(bypassroot.getElementsByTagName("a")[0].href);
- } else {
- $("img:first", bypassroot)[0].parentNode.click();
- }
- } else if (bypassroot.length === 0 && (bypassroot = document.getElementById("group").children).length === 2 && (bypassroot = $("img[src$='black-folder.png']", bypassroot[1])).length === 1){
- window.location.replace(bypassroot[0].parentNode.href);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement