Greasemonkey

If you get too addicted to drugs you will be kicked out of your Education without a refund.
Greasemonkey
Thanks to Hexkid [421738] for creating these scripts! Thanks to MathewS [373969] for his updates and additions! Thanks to Amita [500343] for the SuperPack script!
 
 Tutorials:
 Installing and Using Greasemonkey
 Safety Concerns
 What the Scripts do:
 TC City  Express Crimes  SuperPack


Scripts

Current TCB official/ tested versions:          * (Click a Link to download) These scripts are all compatible, and can be used simultaneously Note: Each version may be different, and pending TC updates or changes, different functions may stop working. If you enjoy these scripts, and want something updated, it’s also your responsibility to fix them, or encourage/ find people to spend their free time fixing scripts for you. You can check here for updated versions: If you are editing the script, please do not remove the credits to any past contributors, and submit your changes to the github directory linked to above. Greasemonkey was legalised on Sep 17th 08 *the TC SuperPack script is not maintained by TCB, and can change without notice


Installing and Using Greasemonkey Part 1: Installing Firefox and Greasemonkey To be able to use Greasemonkey, you need to be using the Firefox browser, and install the Greasemonkey extension. Download the Firefox browser from: Remember, if you don’t like it, you can always just uninstall it again. Then, open the firefox browser, and install the following Greasemonkey firefox addon:
Click on any images for a larger, detailed image

Once it’s been installed, restart Firefox when it prompts you to. Part 2: Installing the Scripts Now click on one of the links at the top of this page, in the script section, to install the script you want to try. You can see a description of some of each scripts functions further down this page. You can also download one throug hthe github link, also found in the Script section above.

or

Once the script/s is installed, you can view them, and manage them by going to Tools > Greasemonkey in your firefox menu bar.

Make sure the script has a tick next to ‘Enabled’ if you want to use it. If you want to browse without it, here’s where you can disable the script by unticking it. Part 3: Using and Editing Scripts After clicking on ‘Manage User Scripts’, you can view all installed greasemonkey scripts.

In the example above, there’s three different versions of the TC City script installed, as well as scripts for other sites. The only enabled script is the bottom black TCCity script. Through this window you can enable or disable different scripts, and view and edit their code/ functions, by clicking Edit. To edit the scripts you need a knowledge of javascript. The windows labeled ‘Included Pages’ and ‘Excluded Pages’ are which pages the script will be functioning on. A * is a wildcard, and means that any extension after that point in the url is included. For instance, in the TCCity script above https://torncity.com* means that any url in torn city will have the script running on it. If your script isn’t working, make sure torncity is included here- both the https://www.torncity and the https://torncity versions, or https://www.torn.com and https://torn.com. If you don’t want to have Greasmonkey running on a page, for instance you don’t want the script to change anything only while your on your items page, add https://torncity.com/items.php to the Excluded Pages window. If you’re unsure about the safety of a script, you can add the login page to the excluded window. The link you would be adding is: https://www.torn.com/, or whatever you use to login to TC. If your script is not working, and it is installed properly, right click it in this window and make sure it is Enabled! Your script should be enabled and working now! If it’s not working, try uninstalling it, and reinstalling it, or using a different version. If you’re using the TC City script, you can find the settings menu below the City. You have to enable some functions here before they will begin to work.

Enjoy! Back to Top


Safety Concerns Using Greasemonkey it is possible to insert code into the script that reads your username and password, and sends it to somebody. This is called a ‘cookie grabber’. This can ONLY happen if you have installed the script, and allowed it to run on that page. You can avoid this by only installing scripts checked by TCB, or by adding the TC login page, for instance, to your ‘exclude’ list in the script options. You can see how to do this just above, in the part about Editing your scripts (Here). For example, the page shown in the image below is 100% safe from that script: Remember, the scripts that we’ve checked at the top are safe. However, if you’re downloading random scripts from userscripts.org, or elsewhere, make sure to check the comments, or the code. Back to Top
TC City Script – What it does As shown in the image directly above this section, you have to scroll down below the city in TC to find the menu for this script. From here you can customize what it does and how your pages display. This is the menu: (Please remember that different versions will differ from below, and functions may stop working if TC changes/ updates pages or code)
Below we cover some of the features in the TC City script (v. 2008092.6). Check the numbers in the image above for the corresponding menu item. 1. Highlighting Highlighting does just that- you can set different parameters, and select what, if anything, you wish to highlight, for instance people to bust, or donator packs in the markets.
2. Ticking Clock  (Broken)
The usual clock, but it ticks in real time! Very handy if you’re waiting for a certain time in the auction house, or don’t want to keep refreshing the page to check TC time. You can also change this clock to display the time of any timezone.

3. Simple Login Page

Good for users on dialup, or who just don’t want to view all of the login, and images that are displayed on the login page.

4. Customizable Menu

This is where you can edit your menu at will, adding and removing items. In the example shown, some menu items have been expanded upon, such as Crimes | Offences, and the user has chosen to remove a lot of items, such as the Newspaper and Rewards.
 
 
 
 
 

5. Express Train

To activate this function, you have to enter percentages into the Battle Stat distribution in the GM menu. You can now train in one click! It also tells you your current battle stat percentage (visit your home page to update this), and highlights what stat you should train to achieve your entered distribution percentage.
 
 
 
 
 
 
 

6. Times, Clock and Percentages

In this menu you can activate a few things, such as the ticking clock and the time it   will take for your bars to refill
And displaying your battle stat percentage on the home page
 

And more… Totals and categorization of Item page:

 

Crimes for next award:

And some more that we haven’t covered here. Back to Top


Express Crimes Script – What it does Once you’ve installed the Express Crimes Script, your crimes page will stay the same as usual, except that there are boxes below that you can choose to tick. Once you’ve ticked one of these boxes you will be given the option to do any crime of that nerve in one click. In the example shown below, the 11 and the 15 nerve crimes have been selected.

You can deselect, or select more crimes at any time. Back to Top


TC SuperPack Script – What it does
Requirement : Greasemonkey 0.8+ This script implements 3 functions for torncity players: 1. AntiScamming Center – Access: City > City Center > Anti Scamming Center – Function: + Colors/Highlights scammers whose ids have been added by yourself and/or fetched by our server. + Displays a warning when trading or sending cash to a scammer. + several anti scamming/phishing utilities Note: This only becomes active once you’ve added (or fetched from the server) some ID’s, and Saved the config – Screenshot:
Asc 6361738

2. Event Checking – Acces : City > City Center > Event Check – Function: + Check your mail/event every x seconds (you can set x dynamically) + Displays alert when your energy/health/nerve reaches certain amount – Screenshot:

Tc Superpack 9827583

3. Parcel/Present labeling: – Access: Items > [open] link next to your Parcel/Present – Function: + You can label your individual parcels/presents – Screenshot:

Box 8635530

Any comments, bugs, issues, suggestions… please PM me in game, ID [500343] Back to Top

Trackback(0)
Comments (153)
written by uo-, September 12, 2007
TCB: Greasemonkey was legalized on Sep 17th 08. Please ignore any comments to the contrary posted before this date.
written by J.C., September 14, 2007
There is a way I’ve seen for them to find out. It involves them installing the script and going to the users online, I just installed this to make sure I remembered it right. It shows up similar to the way your name does when using it, [name], but when I turn it off it goes back to normal. So my guess is that the link to your profile somehow interferes with the users online page. Can you verify and possibly change this?
written by hexkid, September 15, 2007
The script interferes with the users online page, yes. But admins can’t find out the script is being used just because of that. That is just an innocuous bug (which will be corrected in a future version of the script).
written by J.C., September 16, 2007
Ahh, cool makes me feel much better. 🙂
written by 123456789, October 01, 2007
so there’s no possible way of them finding out unless the express crimes is used?
written by besty111, October 17, 2007
is this safe do install and download TCB: We’d like to assure you that we would not link to anything that isn’t secure. We do however take no responsibility for your actions. Anyone who’s thinking the same: You have to make the decision yourself, based on the information we offer.
written by besty111, October 19, 2007
i have tried to download this but thhere is no download button can u plz answer this question thanks TCB: Follow all of the instructions on this page, then click on ‘download’ next to the script you want to install on hexkids site. Your download shoudl start automatically, if you wait for a few seconds.
written by JPB, October 28, 2007
I find it wierd that you say its an illegal add on for torncity, yet you have guides on how to use it lol TCB: As an unofficial TC guide, we’ll put all info up, unless it’s damaging to the game.
written by besty111, November 07, 2007
how do you add your own picture onto your house like the boat above
written by Advisor, November 09, 2007
be careful with that script! the creator hexkid is logging your ip at his downloadpage to send it to the staff for rechecking their database!
written by BlackBolt, November 10, 2007
It’s not within the official TC site, and as it’s not altering the “game files” in any way to ones advantage, you can’t be banned for visiting a site.
written by Woofy, November 19, 2007
is it just me, or did the time til your happy bar refill mess up recently? and its now before the bar, instead of above. and the highlighting good levels in jail doesnt work on any except the first page you really can tell hexkid isnt updating it
written by mike, December 18, 2007
Greasemonkey dose not work on battle stats anymore in the home menu , since they color coded the stats now,but it still shows the percent in the gym and what stat u should work on.
written by Anonymous #9, December 19, 2007
Few question : Is some of the function in TCCity Script ain’t working anymore? Example: i)Ticking clock(what I wanted most >_ TCB: Hexkid hasn’t found the time to update greasemonkey lately. Hopefully we can expect more updates soon!
written by robsas, January 09, 2008
open file: c:Documents and Settingsyour_userApplication DataMozillaFirefoxProfilesany_symbols.defaultgm_scripts ccity.user.js change 332-335 lines to: var rx_spe = /Speed:s s (?:(d ),)?(d .d )s /im; var rx_str = /Strength:s s (?:(d ),)?(d .d )s /im; var rx_def = /Defence:s s (?:(d ),)?(d .d )s /im; var rx_dex = /Dexterity:s s (?:(d ),)?(d .d )s /im; and setting battle stats from home menu will work
written by Link, February 03, 2008
i want an updated script already to get rid of all 20 links to the radio and all 40 links to your properties.
written by EvanMoore2008a, March 03, 2008
The site for the scripts is DOWn
written by , March 04, 2008
the site hexkid is still down… any other link? or some1 that can send that to me? greets!
written by Killer-Ice, March 14, 2008
Yea that site is down is there any other way to get the script? TCB: We’re working on it
written by Ouuuch, March 15, 2008
Does anyone has the clock tool for TC? I just need it. This ticking clock doesn’t work anymore
written by Killer-Ice, March 15, 2008
Does any one know how to edit it and customize it like hide what you want to hide and stuff? Because I can’t find the settings for it. TCB: ONce it’s activated and installed, go to the TC City page, and scroll down. Everything you need should be there.
written by TCB, March 21, 2008
Thanks to John Doe ad EvanTheOne for the xpress Bust Script!
written by Joel, March 22, 2008
Why the hell doesnt the time tick? I set it to and it still needs be refreshed to see. And whys there “Go there” next to city? Whats point of it. TCB: Some functions need to be fixed.
written by Link, March 24, 2008
I went to an archived page of hexkid’s site and it says: ————————————————————– TCcity script discontinued The script I wrote for TornCity is an illegal add-on. The script breaks the “Terms of Service”. 10) Players agree not to, through software or other methods, interfere with the site operation and page content. Players agree to follow all administrator requests and instructions. All users who downloaded it, please consider uninstalling it from your computers. ——————————————————– needless to say im not gonna uninstall it, it’s way too useful. i just wish i knew how to edit it =(
written by Link, March 24, 2008
in fact, i say we all mail hexkid untill he starts making it again TCB: We’ve got someone who’s recoding it for us now. It would be great if Hexkid could come back though.
written by EvanTheOne, April 05, 2008
Did you get my e-mail? i sent you the whole script and everything i had 😛 TCB: Got it, thanks a lot!
written by dud, April 11, 2008
Any word on the update?
written by Altiar, May 03, 2008
i installed greasemoneky but im not able to install the scripts, i press on the links of the the scripts and nothing happens! any help?! TCB: It should automatically pop up with a awindow asking you to install, perhaps wait a minute or two after clicking the link? Or try going through here: https://userscripts.org/users/47543/scripts If anyone else has issues, please comment.
written by Altiar, May 04, 2008
still nothin, non works not even the link you gave me, i waited and waited and no window popped up…i am using firefox and windows vista, do you think vista has anythin to it?
written by Altiar, May 05, 2008
any help to my problem stated above? TCB: Sorry, this is out of our range of expertise. Hopefully not an issue with TCB, but greasemonkey/ your settings/ browser etc. Try google? 😉
written by Altiar, May 05, 2008
it worked…but i have to let you know that it is nothing like what you showed in the screenshots…plus i can’t find greasemonkey settings that is in the screenshot…any help on this?! TCB: There’s a lot of issues with the script since it hasn’t been updated lately. Sorry about that. Added a nice message about it at the top though 😉
written by Link, May 05, 2008
the script is exactly the same, you didn’t change anything. could you do something to take out the “radio” and “properties” links if it’s not too much to ask? TCB: The person who was doing it hasn’t come through for us. I can’t code. Feel free to mess with the code yourself though.
written by Link, May 07, 2008
lol i can’t code either. you should put a bulletin on the front page asking for a coder or something.
written by tempo, May 09, 2008
so if you dont use express crimes(or busts) is there no way to detect it? cause i pretty much just want the stat percentages and those things. thanks TCB: Yes, in fact it’s not really cheating since it only modifies how you view the site, staff just took a dislike to it. However, because of the outdated code stat percentages aren’t working that well, but give it a try (easy to uninstall).
written by Altiar, May 27, 2008
After the site some maintenance 2 days ago, most of the menu features aren’t working anymore…any idea?!
written by Altiar, May 28, 2008
any idea about my previous comment??? thanx TCB: We have no idea why it’s messing up. Still looking for someone to try and fix it…
written by aerozol, May 28, 2008
Actually, holidays start soon for me. I might have a crack at the code. But I’m definitely not promising anything…
written by aerozol, May 29, 2008
Jesus, I give up D:
written by Altiar, May 29, 2008
is there any code/script for the safari explorer?
written by nobody, June 17, 2008
To remove Links: function removeLink(anchor_title) { var anchors=document.getElementsByTagName(‘a’); for(var i=0;i
written by nobody, June 17, 2008
The function got cut off so i’ll add it in the forum.
written by Link, June 18, 2008
ever since the updates, the scripts have gone completely haywire and no longer work.
written by Underdog 1 5 2, July 01, 2008
does the express crimes and busts work if so what does it do ?
written by themusicking30, July 14, 2008
why we open the greasemonkey settings??
written by loltellme, July 15, 2008
when i go to the link to download the greasemoneky i cant if i click download it says find from internet or save . how do i how it so i can download and use the stuff? TCB: If you have firefox then it should just let you download it. Otherwise, in the firefox menu go Tools > Add Ons > Find Extensions and search for ‘greasemonkey’, and perhaps it will work that way.
written by padokill, September 17, 2008
Is the use of this program still illigal after the recent change in the tc game rules TCB: Not sure, but who cares, it’s undetectable.
written by tcplayer, September 17, 2008
I just read on the announcements that Greasemonkey is now allowed… will there be any new updates for the script since it’s now legal? TCB: We’re still looking for people who want to update it.
written by BlackBolt, September 17, 2008
Awesome news. Historical TC day 🙂
written by 7Thommo7, September 17, 2008
How can you view the green editing page shown below “TCCity Script”? I would like to edit it but can’t seem to find it. 🙁 Thanks ~ Thommo TCB: It should be visible if you scroll down on the ‘City’ page in TC. Below the usual links and menu.
written by Php_Jesse, September 17, 2008
I have just started work in developing the script. Please forward any suggestions to This e-mail address is being protected from spam bots, you need JavaScript enabled to view it I
Share to friends
TCBasic