Friday, September 23, 2011

MegaReg


// MegaReg
// Version 1.2.0
// Sept 21, 2011
// Copyright (c) 2011 USA, Lone Hood (TM)
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.
//
// To install, you need Greasemonkey: https://addons.mozilla.org/en-US/firefox/addon/748
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "MegaReg", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name          MegaReg
// @namespace     Lone Hood
// @description   Less ads on video sites such as MegaUpload and Putlocker
// @include       *1channel.*
// @include       *.megaupload.com/*
// @include       *.putlocker.com/*
// @include       *.sockshare.com/*
// @include       *.videoweed.es/*
// @include       *.novamov.com/*
// @include       *.movshare.net/*
// @include       *.zshare.net/*
// @include       *letmewatchthis.*
// @include       *watchthisletme.com/*
// @require       http://sizzlemctwizzle.com/updater.php?id=109286
// @require       http://code.jquery.com/jquery-1.6.2.min.js
// ==/UserScript==


// LetMeWatchThis
if (window.location.hostname.match("www\.1channel\.ch")) {

  // Remove error message
  $('div.error_message').remove();

  // Dim background
  $('html body').css('background-color','#444466');
  $('div.col1').css('background-color','#AAAABB');
  $('div#first.actual_tab table.movie_version').css('background-color','#DDDDFF');
  $('div.col2').css('background-color','#DDDDFF');

  $('div.movie_info table tbody tr td span.movie_info_actors a').css('color','#004499');
  $('div.index_item a').css('color','#000022');
  $('div.col1 h1.titles span').css('background-color','#444466');
  $('div.download_link').css('color','#555555');

  $('h1.titles').css('background','url(null)');
  $('h1.titles').css('background-color','#303050');
  $('div.main_body').css('background','url(null)');
  $('div.footer').css('background','url(null)');

  // Make font more readable
  $('div.logged_links a').css('color','#882200');
  $('div.episode_prev_next a').css('color','#882200');
  $('span.help_link a').css('color','#882200');

  // Users online
  $('div.users_online h3').css('color','#006600');
  $('div.users_online h3 span').css('color','#004400');
  $('div.users_online span.online_normal a').css('color','#0022CC');

  // Fix header
  $('html body').css('background-image','url(null)');
  $('#search_term.box').css('width','200px');
  $('div.nav_tabs').css('width','420px');
  $('div.header_search').css('width','250px');

  // Enlarge PutLocker link so it's easier to find
  $('span.version_host img[src="/images/host_48.gif"]').parent().parent().css('width','118');
  $('span.version_host img[src="/images/host_48.gif"]').css('width','118');
  $('span.version_host img[src="/images/host_48.gif"]').parent().parent().prev().css('font-size','16px');

  // Enlarge SockShare link so it's easier to find
  $('span.version_host img[src="/images/host_45.gif"]').parent().parent().css('width','105');
  $('span.version_host img[src="/images/host_45.gif"]').css('width','105');
  $('span.version_host img[src="/images/host_45.gif"]').parent().parent().prev().css('font-size','15px');

  // Views are an important indicator of a good link
  $('span.report_broken').css('font-size','9px');
  $('span.report_broken').parent().css('width','60');
  $('span.version_veiws').css('font-size','13px');
  $('span.version_veiws').parent().css('width','85');


};


// Redirects old and fake links back to the main site to keep you safe
if (window.location.hostname.match("www\.letmewatchthis\.ch|letmewatchthis\.com|www\.letmewatchthis\.com|watchthisletme\.com|www\.letmewatchthis\.pro|www\.letmewatchthis\.me|1channel\.info")) {

window.location = ("http\://www\.1channel\.ch")

};


// MegaUpload
if (window.location.hostname.match("www\.megaupload\.com")) {

  // Increase filename font size
  $('div.down_top_bl1 div.down_txt_pad1 span.down_txt2').css('fontSize','20px');
  $('div.down_top_bl1 div.down_txt_pad2').css('padding-top','0px');

  // Remove feature frame
  $('div.down_table_pad').remove();

  // Remove premium button
  $('div.down_butt_bg div.down_butt_bg2').remove();

  // Center download button
  $('div.down_butt_bg').css('float','none');
  $('div.down_butt_bg').css('margin-left','auto');
  $('div.down_butt_bg').css('margin-right','auto');

  // Dim background
  $('body.color3').css('background-image','none');
  $('body').css('background-image','none');
  $('body.color3').css('background-color','rgba(41, 40, 56, 0.8)');
  $('div.rew_main_bg1').css('background-color','rgba(101, 100, 96, 0.8)');
  $('.download .black_r_bg1').css('background-image','none');
  $('.download .rew_main_bg1').css('background-image','none');

  // Remove popunder
  $('#downloadlink a').removeAttr('onclick');


  // Speed up download timer
  //$('div.down_butt_bg3 script').remove();
  //$('#downloadcounter').remove();
  //$('div#downloadlink.down_butt_pad1').css('display','');


};


// PutLocker
if (window.location.hostname.match("www\.putlocker\.com")) {

  // Dim background
  $('html body').css('background-color','#444444');
  $('div.container-back').css('background-color','#333333');
  $('div.item_confirm_page').css('background-color','#333333');
  $('div.item_confirm_page h3').css('background-color','#777777');

  // Remove ad
  $('div.ad_728x90_top').remove();

  // Remove table
  $('div.item_confirm_page table.choose_speed tbody tr:gt(0)').remove();
  $('div.item_confirm_page table.choose_speed tbody tr th:gt(1)').remove();
  $('div.item_confirm_page table.choose_speed tbody tr th:lt(1)').remove();

  // Lights off
  $('#buttonWrapper').css('width','200px');
  $('#lightsOff').css('font-size','18px');


};


// SockShare
if (window.location.hostname.match("www\.sockshare\.com")) {

  // Dim background
  $('html body').css('background-color','#444444');
  $('div.site-body').css('background-color','#222222');
  $('div.item_confirm_page table.choose_speed tbody tr th').css('background-color','#999999');
  $('div.item_confirm_page').css('background-color','#333333');
  $('div.item_confirm_page h3').css('background-color','#777777');

  // Remove ad
  $('div.ad_728x90_top').remove();

  // Remove table
  $('div.item_confirm_page table.choose_speed tbody tr:gt(0)').remove();
  $('div.item_confirm_page table.choose_speed tbody tr th:gt(1)').remove();
  $('div.item_confirm_page table.choose_speed tbody tr th:lt(1)').remove();

  // Lights off
  $('#buttonWrapper').css('width','200px');
  $('#lightsOff').css('font-size','18px');


};


// VideoWeed
if (window.location.hostname.match("www\.videoweed\.es")) {

  // Dim background
  $('html body').css('background','url(null)');
  $('html body').css('background-color','#112211');
  $('#playerpageads_table tbody tr td:gt(0)').remove();


};


// NovaMov
if (window.location.hostname.match("www\.novamov\.com")) {

  // Dim background
  $('html body').css('background-color','#000000');
  $('div#content_block.clear').css('background-color','#003344');
  $('div#footer.clear').css('background','url(null)');
  $('div#v_tab1.v_tab.blockborder').css('background-color','#336677');


};


// MovShare
if (window.location.hostname.match("www\.movshare\.net")) {

  // Dim box
  $('div#content_1.content').css('background-color','#446688');
  $('div.tabbed_area ul.tabs li a.active').css('background-color','#334455');


};


// zShare
if (window.location.hostname.match("www\.zshare\.net")) {

  // Dim background
  $('div#main').css('background','none repeat scroll 0 0 #000000');
  $('html body').css('background','none repeat scroll 0 0 #333333');
  $('div#footer').css('background','none repeat scroll 0 0 #000000');

  // Remove ads
  $('div#main div:gt(0) div:lt(3)').remove();
  $('div#main div:gt(0) div:gt(0)').remove();
  $('div#footer div').remove();


  // Remove popup


};

0 comments:

Post a Comment