TSR - Freemium

Access some Subscriber/VIP functionality.

As of 2016-04-18 20:44:25 UTC. See the latest version.

// ==UserScript==
// @name        TSR - Freemium
// @description Access some Subscriber/VIP functionality.
// @namespace   The Sims Resource
// @include     *thesimsresource.com*
// @version     1.1r
// @grant       none
// ==/UserScript==

var body = document.getElementsByTagName('body')[0];
var head = document.getElementsByTagName('head')[0];

var styleEle = document.createElement('style');
styleEle.innerHTML = ".notloggedin, .nonsubscriber, body .top-300-ad, .no-sub-button, .vip-link, body .ad-alsorectangle, body .ad-browse-rectangle, body .ad-bottomleader, body .ad-midleader, .sitemenu .not-logged-in, body .ad-topleader, .siteskin, .dl-menuwrapper .not-logged-in, .footer-glam, body .rectangle-1, .medianet {display:none !important;}.big-download-buttons, .file-data-index, .sub-button {display:block;}.iloggedin {display:inline-block;}.sitemenu .logged-in-account, .sitemenu .has-basket {display:inline-block;}.no-right-margin {margin-right:0;}.big-data {top:0;}.file-data-profile {border:0;padding:0;position:relative;}.big-data-profile {position:relative;float:left;}.big-download-profile {position:relative;bottom:auto;margin-top:44px;border-top:1px dotted #b7b7b7;padding-top:20px;}#pushdown {display:none;}.wrapper {padding-top:20px;margin-top:0;}.mid-wrapper {padding-top:0;margin-top:-30px !important;}.index-wrapper {position:relative;top:-20px;margin-top:0 !important;}#updates {margin-top:0;}#footer-stats {width:auto;}#footer-legal {width:100%;}@media(min-width: 320px) and (max-width: 500px) {.big-info {height:210px !important;margin-bottom:30px !important;}.details .bsk, .big-info .bsk {display:block !important;width:300px !important;margin:0 !important;top:0 !important;}.admin-link {top:-452px !important;right:0 !important;}.index-page .big-info .button {top:210px;}.index-page .big-info .bsk {top:48px !important;}.index-page .big-info {height:262px !important;}.profile-avatar {top:40px !important;}.wrapper {padding-top:10px;}.big-download-buttons strong {bottom:505px !important;}.big-download-buttons {bottom:45px;}.big-download-buttons .admin-link {top:-387px !important;right:-45px !important;}}"
head.appendChild(styleEle);

var scriptEle = document.createElement('script');
scriptEle.innerHTML = "auth_isLoggedIn = function(){return true;}; isAb = function(){return false;}; isVip = function() {return true;}; isSubscriber = function() {return true;};";
body.appendChild(scriptEle);