[Script] Change Torn Background to be darker
-
Thread created on 11:56:50 - 16/04/15 (11 years ago)|Last replied 06:28:00 - 27/04/15 (11 years ago)Hey guys,
I created a quick script up for myself which I wasn't going to share but just thought why not somebody may like it. Basically all it does is replace backgrounds with the slightly darker jail background which personally I find much more pleasing on the eye. It can easily be modified to set any background you please though.
works on Firefox using greasemonkey, but can't see why it wouldn't work in anything with a tiny bit of modification.
// ==UserScript==
// @name Change background
// @namespace SeikShadow
// @description Changes Torn background
// @include *torn.com/*
// @version 1
// @grant none
// ==/UserScript==
$('body').css('background-image', 'url("/images/v2/main/bg_jail.jpg")');
Script was changed to show Yaz's version because simpler is better and I overcomplicated it hahaLast edited by Mr_Red on 08:21:09 - 17/04/15 (11 years ago) -
-
Posted on 12:43:33 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkCan confirm works on Chrome with Tampermonkey
Edit: You know you don't need the ?v= on the end?
Edit 2: It appears to sometimes fail - when it's a little slowLast edited by dangercrow on 12:48:48 - 16/04/15 (11 years ago) -
-
Posted on 12:45:25 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkAwesome
-
-
Posted on 13:11:29 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkwell unless I'm having a slow moment that uses a cached version which most people will have. I doubt it makes much difference either way really so it can be removed if wanted.
-
-
Posted on 13:33:18 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkThis should be an option in preferences. The ability to change the background color.
-
-
Posted on 13:34:54 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkHow come you use the jail background image? Why not specify a colour or a custom image? The jail colour is really ugly!
-
-
Posted on 13:37:19 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkI like it in honesty, makes torn a bit easier to look at haha. Also it seems like somebody has reported my post, I wonder what offended them :L
-
-
Posted on 13:38:22 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkIf you really want something different I'd be more than happy to quickly make something up for ya :) but as I said it was just a personal change and I didn't feel the need to make a suggestion about it as i doubt it'd get near to 100 likes
-
-
Posted on 13:43:11 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkIt'll get cached on the first load anyway
Its more to do with the page load event -
-
Posted on 13:44:14 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkhttp://www.torn.com/forums.php?p=threads&f=4&t=15908244&b=0&a=0 A suggestion to change the background.
-
-
Posted on 14:08:13 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkIt's just in the wrong place. These threads go in tutorials and guides now.

-
-
Posted on 14:33:21 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkNot to be a hijacking bitch or anything but you can choose your own color and all you need is this:
// ==UserScript==
// @name Change background
// @namespace SeikShadow
// @description Changes Torn background
// @include *torn.com/*
// @version 1
// @grant none
// ==/UserScript==
$("body").css("background", "rgba(152,152,152,0.9)"); -
-
Posted on 14:38:51 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkAh fair enough I'll keep it in mind for future then.
Also Psyc you're fine, I prefer a bit of texture though haha -
-
Posted on 14:48:19 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post link// ==UserScript==
// @name Change background
// @namespace SeikShadow
// @description Changes Torn background
// @include *torn.com/*
// @version 1
// @grant none
// ==/UserScript==
$('body').css('background-image', 'url("/images/v2/main/bg_jail.jpg")');--- Signatures are turned off --- -
-
Posted on 16:43:19 - 16/04/15 (11 years ago)Post link copied to clipboard Copy post linkThat new one seems to work fine :D
One small tweak I made was @include *.torn.com/* cause I don't want it to glom over other URLs with "torn" at the end.
PS Thanks for making me read the forums and post and refresh and stuff:
-
-
Posted on 12:34:59 - 19/04/15 (11 years ago)Post link copied to clipboard Copy post linkI like this idea
Thanks for the Script Mr_Red and PsycWard's Color Extra
:)
Edit::
this is nice http://prntscr.com/6vm5as
would be great if you could script the flying page like this
not everything has to be GRAYLast edited by LouBaker on 13:06:19 - 19/04/15 (11 years ago) -
-
Posted on 13:11:24 - 19/04/15 (11 years ago)Post link copied to clipboard Copy post linkMaybe they think it's an illegal script?
I don't see why it would be illegal though, I don't see this script giving you any advantage on the game, it just changes colours to be more easy on the eye.
(R+)
-
-
Posted on 03:58:54 - 25/04/15 (11 years ago)Post link copied to clipboard Copy post linkOhmigawsh. I love you.
Recently got a new 4k monitor. The gray space on torn is so freaking bright and takes up a good 60% of the page.
Thank you sooooo much!<-- Please report this URL to -Clansdancer if you see it -->
-
-
Posted on 13:17:41 - 26/04/15 (11 years ago)Post link copied to clipboard Copy post linkNot quite 4k here but high res widescreen so I know your pain haha, I found it difficult to look at sometimes so the jail one becomes quite pleasant
-
-
Posted on 06:28:00 - 27/04/15 (11 years ago)Post link copied to clipboard Copy post linkLet me see...
Dashboard > Copy > Paste > Enter
Wohooo
Forever in Jail.... Hahaha
*smiles*
Thanks Mr_RedLost In Translation. Please Don't Take Me Back.
-





