Hack Forums - Community Radio

Adds a link to start the Hack Forums Community Radio player in a new window.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Hack Forums - Community Radio
// @namespace   Doctor Blue
// @description Adds a link to start the Hack Forums Community Radio player in a new window.
// @require     http://code.jquery.com/jquery-2.1.4.min.js
// @include     *hackforums.net*
// @exclude     *wiki.hackforums.net*
// @version     1.1.1
// @grant       none
// ==/UserScript==

$j = $.noConflict(true)

$j('#header > .menu > ul').append('<li><a id="openRadio" class="navButton" href="" style="color: #4EC7FF" target=>Radio</a></li>')
$j('#openRadio').on('click', function() {
  window.open('http://tunein.com/embed/station/250935?autoplay=true&size=small','player','width=550,height=157,scrollbars=no')
  return false
})