[UserScript] Add Item Market Link to Left Nav | Tutorials & Gu…

[UserScript] Add Item Market Link to Left Nav

​

    • 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
    Thread created on 13:24:04 - 16/02/15 (11 years ago)
    |
    Last replied 09:54:22 - 09/04/20 (6 years ago)
    What is this user script about?

    This script adds a direct link to the item market in the left-hand navigation, so that the market is easily accessible from any location in torn where the left-hand nav appears.

    Installation:

    Install Greasemonkey if you are using Firefox: Greasemonkey Addon for Firefox
    Install Tampermonkey if you are using Chrome: Tampermonkey Extension for Chrome

    Finally install the userscript: Left-Hand Item market link
    I've updated the script so that it adds the Item market link as the second item in the menu. It's not pretty code but it works :)

    Changelog:

    • 1.0: first working version, tested in FF
    Suggestions?
    Don't hesitate to post any changes you'd like below, it's a relatively straightforward script that helps me so thought it may help yous.

    This is just a slight modification to the armory link script I created before due to a suggestion I saw, no pressure to use it but again if it's helpful to you then glad to be of help.
    Last edited by Mr_Red on 18:34:32 - 18/02/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

    • Elge [1868449]
    • Role: Civilian
    • Level: 20
    • Posts: 300
    • Karma: 35
    • Last Action: 11 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 18:05:06 - 17/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Thank you for sharing this r+. But I think the link should be positioned under the city link and not at the end. I tried to do this for myself so I changed the last line to: "menu[0].insertBefore(div,menu[0].childNodes[6]);" But I think there has to be a better way to archive this. I also changed the icon to the city link icon but I think that's a matter of taste.
    Last edited by Elge on 18:06:19 - 17/02/15 (11 years ago)
    • 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 09:30:41 - 18/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    yeah course I'll have a look into it, I just took the quick and dirty approach to get what i wanted to be honest haha but I'm sure I can do what you say :)

    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 18:34:16 - 18/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    I've updated the script so that it adds the Item market link as the second item in the menu. It's not pretty code but it works :)

    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

    • David [132845]
    • Role: Civilian
    • Level: 100
    • Posts: 4,244
    • Karma: 12,785
    • Last Action: 25 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:54:02 - 21/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    For what it's worth, I think I have an even better solution: you use some junk item (soap on a rope, box of tissues, empty box, etc), and you list it for, say, 10k or any absurd price you can think of. Sure, the item will never sell, but you'll have a clickable icon.

    If having cash offshore allows you to have a travel icon, the same logic applies to items market.

    That's what I did, along with listing 1 point for 100k, so I have my quick links without using scripts. [:smiley:]

    Recently in the Auction House:
    Dune Vest (sold for: 820m),
    and Dune Gloves (sold for: 515m)

    See you next time face_08.gif

    • 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 16:46:35 - 22/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    would putting an item in bazaar not just give you a link to your bazaar though? then it's one more click to get to item market again so only a bit quicker than clicking city. It's just something to save a bit of time here and there :)

    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

    • python [1009878]
    • Role: Civilian
    • Level: 100
    • Posts: 3,079
    • Karma: 4,327
    • Last Action: 27 minutes
      • 5
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:32:16 - 22/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    scripts of all types are banned in torn

     

    • Judgement [1728095]
    • Role: Civilian
    • Level: 37
    • Posts: 1,352
    • Karma: 545
    • Last Action: 9 years
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:43:23 - 22/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Mr_Red [1693261]

    would putting an item in bazaar not just give you a link to your bazaar though? then it's one more click to get to item market again so only a bit quicker than clicking city. It's just something to save a bit of time here and there :)
    You list the item in the item market.

    • Untouchable [1360035]
    • Role: Committee
    • Level: 100
    • Posts: 6,415
    • Karma: 10,141
    • Last Action: 17 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:41:12 - 22/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    python [1009878]

    scripts of all types are banned in torn
    Um, no they aren't...

    Where did you get this info?

    untouchable.gif

     

    supernatural-forum.gif

     

    8s8scmw.gif

     

    551bf89c-d378-499c-a4a8-144e2909a36f-1360035.jpg

     

    LSD

     

    8240d638-130f-4764-8070-a6a89e54af0e-1360035.png

     

    699ae43a-9cb4-443d-baf8-5c051421ca86-1360035.png

     

    98273d0d-6edf-4e46-98ed-22f265cd8481-1360035.png

     

    de138be2-a016-4e59-9c9c-0fe372ef12b8-1360035.png

     

    74a34a1e-6a68-483c-9f03-c98d4ebef058-1360035.png

     

    untouchableforumsoftware.png

     

    SONIC-2.jpg

     

    b4d1cbe0-5736-4d8e-9d07-b95530f59c2a-1360035.png

    • Untouchable [1360035]
    • Role: Committee
    • Level: 100
    • Posts: 6,415
    • Karma: 10,141
    • Last Action: 17 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:42:19 - 22/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    David [132845]

    For what it's worth, I think I have an even better solution: you use some junk item (soap on a rope, box of tissues, empty box, etc), and you list it for, say, 10k or any absurd price you can think of. Sure, the item will never sell, but you'll have a clickable icon. If having cash offshore allows you to have a travel icon, the same logic applies to items market. That's what I did, along with listing 1 point for 100k, so I have my quick links without using scripts. [:smiley:]
    This is exactly what I do! I did the same for the loan shark, but that one has since disappeared, for some unknown reason.

    untouchable.gif

     

    supernatural-forum.gif

     

    8s8scmw.gif

     

    551bf89c-d378-499c-a4a8-144e2909a36f-1360035.jpg

     

    LSD

     

    8240d638-130f-4764-8070-a6a89e54af0e-1360035.png

     

    699ae43a-9cb4-443d-baf8-5c051421ca86-1360035.png

     

    98273d0d-6edf-4e46-98ed-22f265cd8481-1360035.png

     

    de138be2-a016-4e59-9c9c-0fe372ef12b8-1360035.png

     

    74a34a1e-6a68-483c-9f03-c98d4ebef058-1360035.png

     

    untouchableforumsoftware.png

     

    SONIC-2.jpg

     

    b4d1cbe0-5736-4d8e-9d07-b95530f59c2a-1360035.png

    • -Jackson [1601454]
    • Role: Civilian
    • Level: 60
    • Posts: 1,556
    • Karma: 835
    • Last Action: 8 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 18:12:55 - 16/04/16 (10 years ago)
    Post link copied to clipboard Copy post link

    python [1009878]

    scripts of all types are banned in torn
    Not exactly...some are ok to use and some are forbidden. That being said, i havn't tried this one, but it sounds alot like the one i use altho mine has alot more features.

    I will move this to the API forum. As that is where stuff like this tends to be grouped.

    Cheers.

    • 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 23:21:08 - 20/04/16 (10 years ago)
    Post link copied to clipboard Copy post link

    python [1009878]

    scripts of all types are banned in torn

    -Jackson [1601454]

    Not exactly...some are ok to use and some are forbidden. That being said, i havn't tried this one, but it sounds alot like the one i use altho mine has alot more features. I will move this to the API forum. As that is where stuff like this tends to be grouped. Cheers.
    I thought the API development forums were for things related to ..... API development.

    This should belong in tutorials and guides should it not?

    This script has nothing to do with the API.

    • 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 23:22:44 - 20/04/16 (10 years ago)
    Post link copied to clipboard Copy post link

    Mr_Red [1693261]

    [b]What is this user script about?[/b] [i]This script adds a direct link to the item market in the left-hand navigation, so that the market is easily accessible from any location in torn where the left-hand nav appears.[/i] [b]Installation:[/b] Install Greasemonkey if you are using Firefox: [url=https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/]Greasemonkey Addon for Firefox[/url] Install Tampermonkey if you are using Chrome: [url=https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en]Tampermonkey Extension for Chrome[/url] Finally install the userscript: [b][url=https://openuserjs.org/scripts/SeikoShadow/Add_Item_Market_link]Left-Hand Item market link[/url] [i]I've updated the script so that it adds the Item market link as the second item in the menu. It's not pretty code but it works :)[/i] Changelog:[/b] [list][*]1.0: first working version, tested in FF[/*][/list] [b]Suggestions? [/b]Don't hesitate to post any changes you'd like below, it's a relatively straightforward script that helps me so thought it may help yous. This is just a slight modification to the armory link script I created before due to a suggestion I saw, no pressure to use it but again if it's helpful to you then glad to be of help.
    uh, dbl post
    Last edited by 1898966 on 23:23:05 - 20/04/16 (10 years ago)

    • -Jackson [1601454]
    • Role: Civilian
    • Level: 60
    • Posts: 1,556
    • Karma: 835
    • Last Action: 8 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:07:08 - 21/04/16 (10 years ago)
    Post link copied to clipboard Copy post link

    python [1009878]

    scripts of all types are banned in torn

    -Jackson [1601454]

    Not exactly...some are ok to use and some are forbidden. That being said, i havn't tried this one, but it sounds alot like the one i use altho mine has alot more features. I will move this to the API forum. As that is where stuff like this tends to be grouped. Cheers.

    1898966 [1898966]

    I thought the API development forums were for things related to ..... API development. This should belong in tutorials and guides should it not? This script has nothing to do with the API.
    Your right, i was thinking it was related to the API as i didn't bother to open the script or anything. My mistake.

    Will move to guides section.

    • 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 11:17:21 - 07/04/20 (6 years ago)
    Post link copied to clipboard Copy post link
    Bump, bumping old thread as apparently this is still used as just got a like. Hope nobody minds

    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

    • Untouchable [1360035]
    • Role: Committee
    • Level: 100
    • Posts: 6,415
    • Karma: 10,141
    • Last Action: 17 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 09:54:22 - 09/04/20 (6 years ago)
    Post link copied to clipboard Copy post link
    Should be in the scripts forum

    untouchable.gif

     

    supernatural-forum.gif

     

    8s8scmw.gif

     

    551bf89c-d378-499c-a4a8-144e2909a36f-1360035.jpg

     

    LSD

     

    8240d638-130f-4764-8070-a6a89e54af0e-1360035.png

     

    699ae43a-9cb4-443d-baf8-5c051421ca86-1360035.png

     

    98273d0d-6edf-4e46-98ed-22f265cd8481-1360035.png

     

    de138be2-a016-4e59-9c9c-0fe372ef12b8-1360035.png

     

    74a34a1e-6a68-483c-9f03-c98d4ebef058-1360035.png

     

    untouchableforumsoftware.png

     

    SONIC-2.jpg

     

    b4d1cbe0-5736-4d8e-9d07-b95530f59c2a-1360035.png

Reply
Thread Title: