|
i dont mind if you post it.
try this...
main();
function removeMe(x)
{
var y = document.getElementById(x);
if (y != null)
y.parentNode.removeChild(y);
else
GM_log('justin: cannot remove ' + x);
}
function main()
{
var launch=window.document.body.getAttribute('justintvfixelaunch');
if (launch) { return; }
window.document.body.setAttribute('justintvfixelaunch','true');
removeMe('dvr');
removeMe('header');
removeMe('channel_stats_container');
removeMe('show_survey');
removeMe('next_live_channel');
removeMe('chat');
removeMe('right_column');
removeMe('channel_lists');
removeMe('footer');
removeMe('channel_header');
removeMe('channel_tabs_container');
removeMe('PopUnderChan_holder');
removeMe('ChanHeader');
removeMe('ChanUnderChat');
removeMe('PopUnderChan');
removeMe('companion_ad');
removeMe('ChanHeader_holder');
removeMe('subplayer_buttons');
var jtv_live_flash = document.getElementById('live_site_player_flash');
if (jtv_live_flash != null)
{
jtv_live_flash.setAttribute("width", 950);
jtv_live_flash.setAttribute("height", 535);
}
setStyle(window.document,document.evaluate('/HTML[1]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,"color: black;background-color: black;",null,null);
setStyle(window.document,document.getElementById('page_wrapper'),"color: black;background: #000000;",null,null);
setStyle(window.document,document.getElementById('body_wrapper'),"color: black;background: #000000;",null,null);
setStyle(window.document,document.getElementById('left_column'),"color: black;background: #000000;width: 950px;",null,null);
setStyle(window.document,document.evaluate('/HTML[1]/BODY[1]/DIV[4]/DIV[7]/DIV[1]/DIV[1]/P[1]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,"color: white;",null,null);
}
function setStyle(doc, element, new_style) {
element.setAttribute('style', new_style);
};
|