/ Published in: JavaScript
URL: http://wretch.cc/
Stop the music on 無名小站.
Expand |
Embed | Plain Text
/* pause = pause ? !pause : pause javascript: var obj = document.getElementById("automusic"); obj.removeChild(obj.firstChild); so.addVariable("autostart", so.getVariable("autostart") == "true" ? "false" : "true"); so.write("automusic"); undefined; */ var obj = document.getElementById("automusic"); obj.removeChild(obj.firstChild); so.addVariable("autostart", so.getVariable("autostart") == "true" ? "false" : "true"); so.write("automusic"); undefined; /* Extract the URL to the MP3. javascript: var popup; popup = open("", "href", "location = false, menubar = false, scrollbars = false, toolbar = false"); popup.resizeTo(155, 100); popup.document.body.appendChild( popup.document.createElement("a") ); popup.document.body.firstChild.href = so.getVariable("file"); popup.document.body.firstChild.textContent = "URL to the MP3"; undefined; */ var popup; popup = open("", "href", "location = false, menubar = false, scrollbars = false, toolbar = false"); /* popup.moveTo( (screen.availWidth - 100) / 2, (screen.availHeight - 155) / 2 ); */ popup.resizeTo(155, 100); popup.document.body.appendChild( popup.document.createElement("a") ); popup.document.body.firstChild.href = so.getVariable("file"); popup.document.body.firstChild.textContent = "URL to the MP3"; undefined; /* Image url to image page javascript: var information = location.pathname.split('/'); location.href = "http://www.wretch.cc/album/show.php?i=" + information[1] + "&b=" + information[2] + "&f=" + /[^.]+/.exec(information[3]); */ var information = location.pathname.split('/'); location.href = "http://www.wretch.cc/album/show.php?i=" + information[1] + "&b=" + information[2] + "&f=" + /[^.]+/.exec(information[3]);
You need to login to post a comment.
