[Script] Change Torn Background to be darker | Tutorials & Gui…

[Script] Change Torn Background to be darker

​

    • Mr_Red [1693261]
    • Role: Civilian
    • Level: 100
    • Posts: 1,276
    • Karma: 1,775
    • Last Action: 9 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    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 haha
    Last edited by Mr_Red on 08:21:09 - 17/04/15 (11 years ago)

    Also selling Bounty Slots, Gambling Services and selling High Quality Weapons & Armours!
    My Faction is much more than its specials, PM me if you're looking for a change

    • dangercrow [1253523]
    • Role: Civilian
    • Level: 89
    • Posts: 138
    • Karma: 35
    • Last Action: 4 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:43:33 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Can 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 slow
    Last edited by dangercrow on 12:48:48 - 16/04/15 (11 years ago)
    • MarlonBrando [1337797]
    • Role: Civilian
    • Level: 83
    • Posts: 14,352
    • Karma: 4,084
    • Last Action: 1 month
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:45:25 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Awesome
    • Mr_Red [1693261]
    • Role: Civilian
    • Level: 100
    • Posts: 1,276
    • Karma: 1,775
    • Last Action: 9 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:11:29 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    dangercrow [1253523]

    Can 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 slow
    well 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.

    Also selling Bounty Slots, Gambling Services and selling High Quality Weapons & Armours!
    My Faction is much more than its specials, PM me if you're looking for a change

    • Dead--Man [1895400]
    • Role: Civilian
    • Level: 38
    • Posts: 2,528
    • Karma: 1,214
    • Last Action: 9 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:33:18 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    This should be an option in preferences. The ability to change the background color.
    • 1413750 [1413750]
    • Role: Civilian
    • Level: 60
    • Posts: 2,100
    • Karma: 1,553
    • Last Action: 11 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:34:54 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    How come you use the jail background image? Why not specify a colour or a custom image? The jail colour is really ugly!
    • Mr_Red [1693261]
    • Role: Civilian
    • Level: 100
    • Posts: 1,276
    • Karma: 1,775
    • Last Action: 9 months
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:37:19 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    I 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

    Also selling Bounty Slots, Gambling Services and selling High Quality Weapons & Armours!
    My Faction is much more than its specials, PM me if you're looking for a change

    • Mr_Red [1693261]
    • Role: Civilian
    • Level: 100
    • Posts: 1,276
    • Karma: 1,775
    • Last Action: 9 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:38:22 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    1413750 [1413750]

    How come you use the jail background image? Why not specify a colour or a custom image? The jail colour is really ugly!
    If 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

    Also selling Bounty Slots, Gambling Services and selling High Quality Weapons & Armours!
    My Faction is much more than its specials, PM me if you're looking for a change

    • dangercrow [1253523]
    • Role: Civilian
    • Level: 89
    • Posts: 138
    • Karma: 35
    • Last Action: 4 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:43:11 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    dangercrow [1253523]

    Can 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 slow

    Mr_Red [1693261]

    well 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.
    It'll get cached on the first load anyway
    Its more to do with the page load event
    • Dead--Man [1895400]
    • Role: Civilian
    • Level: 38
    • Posts: 2,528
    • Karma: 1,214
    • Last Action: 9 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:44:14 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    http://www.torn.com/forums.php?p=threads&f=4&t=15908244&b=0&a=0 A suggestion to change the background.
    • kyle8048 [488020]
    • Role: Civilian
    • Level: 100
    • Posts: 5,092
    • Karma: 5,686
    • Last Action: 21 days
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:08:13 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Mr_Red [1693261]

    I 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
    It's just in the wrong place. These threads go in tutorials and guides now.

    • PsycWard [1579270]
    • Role: Civilian
    • Level: 100
    • Posts: 2,359
    • Karma: 2,575
    • Last Action: 2 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:33:21 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Not 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)");
    • Mr_Red [1693261]
    • Role: Civilian
    • Level: 100
    • Posts: 1,276
    • Karma: 1,775
    • Last Action: 9 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:38:51 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Mr_Red [1693261]

    I 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

    kyle8048 [488020]

    It's just in the wrong place. These threads go in tutorials and guides now.
    Ah fair enough I'll keep it in mind for future then.

    Also Psyc you're fine, I prefer a bit of texture though haha

    Also selling Bounty Slots, Gambling Services and selling High Quality Weapons & Armours!
    My Faction is much more than its specials, PM me if you're looking for a change

    • Yaz [1575994]
    • Role: Civilian
    • Level: 80
    • Posts: 1,269
    • Karma: 1,534
    • Last Action: 9 years
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:48:19 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Mr_Red [1693261]

    I 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

    kyle8048 [488020]

    It's just in the wrong place. These threads go in tutorials and guides now.

    Mr_Red [1693261]

    Ah fair enough I'll keep it in mind for future then. Also Psyc you're fine, I prefer a bit of texture though haha
    // ==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 ---
    • dangercrow [1253523]
    • Role: Civilian
    • Level: 89
    • Posts: 138
    • Karma: 35
    • Last Action: 4 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:43:19 - 16/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    That 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:

    • LouBaker [1162207]
    • Role: Civilian
    • Level: 100
    • Posts: 3,178
    • Karma: 2,015
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:34:59 - 19/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Dead--Man [1895400]

    This should be an option in preferences. The ability to change the background color.
    I 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 GRAY
    Last edited by LouBaker on 13:06:19 - 19/04/15 (11 years ago)

                Torn's Frequent Flyers  e8718ac3-17de-4d5c-b845-7fe8fdb07283-1162207.jpg?v=1040063

    • 1898966 [1898966]
    • Role: Civilian
    • Level: 48
    • Posts: 1,311
    • Karma: 777
    • Last Action: 9 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:11:24 - 19/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Mr_Red [1693261]

    I 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
    Maybe 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+)

    • emperor886 [339502]
    • Role: Civilian
    • Level: 94
    • Posts: 44
    • Karma: 24
    • Last Action: 5 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 03:58:54 - 25/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Ohmigawsh. 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 -->

    • Mr_Red [1693261]
    • Role: Civilian
    • Level: 100
    • Posts: 1,276
    • Karma: 1,775
    • Last Action: 9 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:17:41 - 26/04/15 (11 years ago)
    Post link copied to clipboard Copy post link

    emperor886 [339502]

    Ohmigawsh. 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!
    Not 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

    Also selling Bounty Slots, Gambling Services and selling High Quality Weapons & Armours!
    My Faction is much more than its specials, PM me if you're looking for a change

    • LethalKiss [1801948]
    • Role: Civilian
    • Level: 87
    • Posts: 990
    • Karma: 697
    • Last Action: 2 days
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:28:00 - 27/04/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Let me see...
    Dashboard > Copy > Paste > Enter

    Wohooo
    Forever in Jail.... Hahaha

    *smiles*
    Thanks Mr_Red

    Lost In Translation. Please Don't Take Me Back.

Reply
Thread Title: