Recent Posts
C++ | 20 sec ago
Diff | 26 sec ago
None | 27 sec ago
None | 34 sec ago
C# | 37 sec ago
None | 38 sec ago
None | 42 sec ago
None | 1 min ago
Lua | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 30th of Jan 2010 03:24:03 AM Download | Raw | Embed | Report
  1. // ==UserScript==
  2. // @name           tou.tv
  3. // @namespace      http://www.tou.tv/geasemonkey
  4. // @include        http://www.tou.tv/*
  5. // ==/UserScript==
  6.  
  7. (function() {
  8.  
  9.         window.addEventListener("load", function(e) {
  10.                 var player = document.getElementById("playerDiv");
  11.                 if(player) {
  12.                         var content = player.innerHTML;
  13.                         content = content.replace("flashvars=\"",  "flashvars=\"releaseURL=" + unsafeWindow.toutv.getRelease() + "&");
  14.                         player.innerHTML = content;
  15.                 }
  16.         }, false);
  17. })();
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: