This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var songs = document.getElementsByClassName("track-list ui-sortable")[1].children; | |
var final = ""; | |
var trackInfo = ""; | |
var artistName = ""; | |
var trackName = ""; | |
for (var track=0;track<songs.length;track++) { | |
trackInfo = songs[track].getElementsByClassName("track-info")[0]; | |
artistName = trackInfo.getElementsByClassName("album-name")[0].textContent.trim(); | |
trackName = trackInfo.getElementsByClassName("name")[0].textContent.trim(); | |
final += artistName + " - " + trackName + "\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updateWidget: function(e){ | |
//should be able to replace all these if statements by accessing the variable being changed which is identical to the target's name attribute | |
if(e.target.getAttribute("name")=="name"){ | |
this.state.widget.setState({name: e.target.value}); | |
return false; | |
} | |
else if(e.target.getAttribute("name")=="phone"){ | |
this.state.widget.setState({phone: e.target.value}); | |
return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var posts = document.getElementsByClassName("userContent"); | |
var strings2block = ["buzz","feed","buzzfeed"] | |
var doesPostContainBlock = function(postContent, blockContent){ | |
for (y in blockContent){ | |
if(postContent.search(blockContent[y])>0) | |
return true; | |
} | |
return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var loginMac = function(index, pw){ | |
var macAddresses = ["f8:8f:ca:24:c4:ef" //glass | |
,"40:f4:07:67:35:82"]; //3ds | |
var username = document.getElementById("username"); | |
var password = document.getElementById("password"); | |
var mac = document.getElementById("devlogin_mac"); | |
username.value = "araiff3" | |
password.value = pw; | |
mac.value = macAddresses[index]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GDLE | |
// @namespace http://www.atommarvel.com/ | |
// @version 2.0 | |
// @description GDLE let's you manage your device logins for GTother in a snap. | |
// @match https://auth.lawn.gatech.edu/* | |
// @copyright 2013+, Atom Marvel Raiff | |
// ==/UserScript== | |
//Add your account info here! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Auto GT Login | |
// @namespace http://www.atommarvel.com | |
// @version 1.0 | |
// @description Simply re-enables chrome's ability to autocomplete the login form for logging into tsquare,buzzport,degeeworks, etc | |
// @match https://login.gatech.edu/* | |
// @copyright 2012+, Atom Marvel Raiff | |
// ==/UserScript== | |
document.getElementById("username").removeAttribute("autocomplete"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<canvas id="c"></canvas> | |
<script> | |
var canvas = document.getElementById("c"); | |
var ctx = canvas.getContext("2d"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:instr='ukulele';acc_tuning=decodeURIComponent('G C E A');$('body').removeClass('guitar');$('body').addClass('ukulele');$('.u_b').click();setTimeout(function(){$('.d_b').click();},500);void%200 |
OlderNewer