The book of inspiration

March 28, 2009

justinTV

Filed under: life — Tags: , , — zproxy @ 11:11 am

Guess what – you can watch TV online at justin.tv!

If you would like to only see only the video in your browser window, you can use this code:

javascript: void (function () { if (document.location.host != ‘www.justin.tv’) { document.location = ‘http://www.justin.tv’; return; } var e = document.getElementById(‘jtv_live_flash’); while (document.body.firstChild != null) document.body.removeChild(document.body.firstChild); document.body.appendChild(e); e.style.position = ‘absolute’; e.style.top = ’0px’; e.style.left=’0px’; e.style.width=’100%’; e.style.height=’100%’})();

What does this code do? It removes all non video elements and maximizes the video.

You should create a new bookmark button.

properties

After creating such a button you can navigate to a video page from justin.tv and click that button.

video

I have tested this with two channels:

  1. http://www.justin.tv/affan2
  2. http://www.justin.tv/sneaky_assassin1

Oh, and those of you who watch Lost, visit http://bojabertv.blogspot.com/.

Update: To make your firefox window top most I suggest DeskPins.

DeskPins can be used to make any application topmost, that is, to keep it above all other windows. Just grab a pin from the DeskPins icon in the system notification area (a.k.a. taskbar tray) and click on any window. This functionality is identical to the “Always on Top” setting found in some programs. With DeskPins you can add this feature to any program!

Advertisement

2 Comments »

  1. I’m wondering if you can show my an example of a simple, entire html page that uses the javascript code you gave in order to make it work for http://www.justin.tv/xxnate92xx ? I’ve tried a few things but it just keeps redirecting me to the actual http://www.justin.tv/xxnate92xx page, with all the content.

    Thanks!

    Comment by DrJones — September 17, 2009 @ 12:37 am

  2. It seems justin.tv has changed their html thus breaking my suggested solution in this post.

    There is however now a popup link below the video which does the very same thing.

    Comment by zproxy — September 18, 2009 @ 5:56 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Get a blog at WordPress.com

Follow

Get every new post delivered to your Inbox.