View difference between Paste ID: rgur51TK and rJMZqBGD
SHOW: | | - or go back to the newest paste.
1-
#customText {
1+
<script>
2-
    background: url('http://i.imgur.com/Jz6FeRx.png');
2+
	function kd(e, obj) {
3-
    border: 0;
3+
		if (typeof window.orientation === 'undefined') {
4-
    box-shadow: none;
4+
			var evtobj = window.event? event : e
5-
    color: black;
5+
			if (evtobj.keyCode == 13) {
6-
    padding-top: 60px;
6+
				var w = document.getElementsByClassName('textcomplete-dropdown'),
7-
    padding-left: 50px;
7+
				b = w.length,
8-
}
8+
				g = false;
9-
#customText_name {
9+
				for (var x = 0; x < b; x++) {
10-
    top: 17px;
10+
					if (w[x].style.display == "block") { g = true; }
11-
    color: white;
11+
				}
12-
    background: transparent;
12+
				if (!evtobj.shiftKey && !g) {
13-
    border: 0;
13+
					e.preventDefault();
14-
    box-shadow: none;
14+
					if (obj.id == 'postComment') a = document.getElementById('commentButton_0').childNodes;
15-
    left: 30px;
15+
					else a = document.getElementById('commentButton_' + obj.id.slice(12)).childNodes;
16-
}
16+
					for (i = 0; i < a.length; i++) {
17-
#customText_text {
17+
						if (a[i].tagName == 'A') {
18-
	width: 90%
18+
							a[i].click();
19-
}
19+
						} else console.log(a[i].tagName);
20-
.vn_menu input.vn_button {
20+
					}
21-
	background-color: rgba(92,3,3,0.8);
21+
				}
22-
}
22+
			}
23-
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
23+
		} else { console.log(window.orientation); }
24-
<ws>
24+
	}
25-
    <settings>
25+
</script>