Skip to content
TORNLIFE More

[Userscript][Api driven]Torn Profile Previewer 2.0

Started by jeff_steveng [2051760] on in Tools & Userscripts.

15 replies · 482 views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 16 / 16 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
16
Discussion span
→
People posting
5
Likes on archived posts
15
Posts by staff, officers and moderators
2
Authority score
56 / 100
Historical score
22 / 100
Story score
35 / 100
Engagement score
62 / 100

Most-liked replies

Mentioned in this thread

Helcostr [1934501] ×1 DeKleineKobini [2114440] ×1

jeff_steveng [2051760]
Tired of viewing faction / company's profile by opening a new tag / window? Try this script.

Link:https://greasyfork.org/en/scripts/399599-torn-profile-previewer

Updated:This script used to do the same thing as the mini-profile TORN already have, now it's updated and brand new.

For every link that leads you away to a faction/company page in TORN,Torn Profile Previewer 2.0 redirects the link to show a preview of the basic profile of the faction/company without having to leave the current page.
[image: i.loli.net]
You can still access the original page by clicking the name of the company/faction on the preview.Click somewhere else to close the preview.

The company preview contains:
[image: i.loli.net]
*Name of the company (with a link)
*Director's name (with a link)
*Company type
*Rating of the company
*Capacity of the company and current number of employees
*How old is the company

The faction preview contains:
[image: i.loli.net]
*Name of the faction (with a link)
*Leader's name (with a link)
*Co-Leader's name (with a link)
*Number of members
*Respect of the faction
*How old is the faction
*Best chain of faction

This userscript is api-driven,so you need to mannually input your api key in the apikey varible, as below.

[image: i.loli.net]

Api key is used to get the simplified profile.

Warning:Don't preview too much in a short time! You could possibly get a temporary ip ban due to api abuse if you use it more than 100 times per minute.

Known Problem: Doesn't work on mobile devices. (Fixed)

----------

This is my first time I wrote a userscript, so there maybe bugs. Let me know by mailing me in TORN if there is any. Thanks!

And sorry for my broken English. If you don't get me, leave a message below.

Enjoy your new life with Torn Profile Previewer 2.0 !
DeKleineKobini [2114440] Committee Committee
I don't think it is, this script works on all links which I don't think is the case with the mini-profile. Maybe it would be better if this script only works on links that don't allow the mini-profile already.
DeKleineKobini [2114440] Committee Committee
I'm pretty sure it's almost everywhere, except links in the forums and other 'text' places. Test on DeKleineKobini. You have to click and hold for a few seconds.

EDIT: In fact, it even works on the forums, making this script 100% useless.

Mentions: DeKleineKobini [2114440]

jeff_steveng [2051760]
Doesn't work on my computer.
Maybe my there's something wrong with my browser.
Thanks for minding me of that.Then just take this for an exercise.
Helcostr [1934501] Wiki Editor
Press and hold your primary click (left mouse button) on the link for about 1 second. The mini profile should pop open.

If that doesn't work, would u like to let us know what browser you are using?
jeff_steveng [2051760]
The legacy version of sogou explorer,a Chinese browser i installed years ago withou any update.I used it because there is a built-in "boss key" function,you get it.
Guess i just need to move to firefox.Mini-profile worked on it.
jeff_steveng [2051760]
Do you think it will be better if i use this technique to build a company/faction profile previewer?
Or something like an extra friend list.
Helcostr [1934501] Wiki Editor
If you wish to reuse this concept, i believe creating a a company/faction profile previewer is an awesome idea/project.