Skip to content
TORNLIFE More

[script] Force Torn.com over HTTPS

Started by Sil3ntOne [2008029] on in Tutorials & Guides.

10 replies · 349 views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 11 / 11 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
11
Discussion span
→
People posting
5
Likes on archived posts
7
Authority score
52 / 100
Historical score
31 / 100
Story score
34 / 100
Engagement score
55 / 100
Sil3ntOne [2008029]

My first greasemonkey / tampermonkey script for torn.com :)

Prerequisites : Tampermonkey (Chrome) or GreaseMonkey (Firefox) installed.

Link to script : https://gist.github.com/Sil3nt-One/adee7052acd51eb60abda9693b7cd6f5/raw/165fe8de7f1f8244ba47d7e5af7941200e4701d7/Torn.com-Force-HTTPS.user.js

Link to gist ( review code ) : https://gist.github.com/Sil3nt-One/adee7052acd51eb60abda9693b7cd6f5

Hit the like button if you find this useful :)
Sil3ntOne [2008029]

I would suggest the devs to put such an option in game preferences and make it server side to avoid a page refresh as in the case with this JavaScript way.
oraN [1778676]

seems great BUT I would still Not use https on torn because it automatically makes any link we paste in the chat https soo... yeah
Sil3ntOne [2008029]

Its actually making the links protocol independent.. It just removes the http: or https: from the links..

e.g. //example.com/abc.html .. That makes browsers use the protocol of page on which the link was added.. Its actually a bad behavior and should be fixed by Torn :P

Posted it as a bug report : http://www.torn.com/forums.php#!forums.php?p=threads&f=19&t=15984592&b=0&a=0



Thanks for pointing out this issue ORAN :)


Mentions: Chat strips protocol from URLs

Kamatcho [1961108]

Secure and I found some scripts aren't working while Torn is opened through HTTPS. One I found was the Item market and Travel link for your menu. These don't appear while Torn is opened in HTTPS.

Or maybe I was flying high.
Sil3ntOne [2008029]

HTTPS prevents anyone else (Government/Internet Service Provider) between you and the torn server from intercepting your page visits.

It also prevents someone else (Friend/Sibling/etc) on your home/office/school network from sniffing your passwords or even knowing which page you are visiting (The IP you are connecting to will be visible though, so this might not help you play Torn on school/office network without getting caught).