Skip to content
TORNLIFE More

GRAVED

Started by Father [2131687] on in Tools & Userscripts.

13 replies · 1.79k views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 14 / 14 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
14
Discussion span
→
People posting
9
Likes on archived posts
33
Authority score
52 / 100
Historical score
40 / 100
Story score
50 / 100
Engagement score
69 / 100
Fogest [2254826]
Is there any way my and my torn spouses balances can be shown in the vault itself via the script instead of having to check the overview of the spreadsheet?
colaman32 [2091413] Wiki Contributor
It broke for me yesterday, user ID and nickname were returning undefined.

Fixed it by changing line 42/43 from:

[background color=var(--bbc-body-bg-color)]var user_id = $("script[src*='js/chat/chat']").attr("uid");
[/background][background color=var(--bbc-body-bg-color)]var username = $("script[src*='js/chat/chat']").attr("name");[/background][background color=var(--bbc-body-bg-color)]
[/background]
to

var user_id = $("script[src*='builds/chats/chat']").attr("uid");
var username = $("script[src*='builds/chats/chat']").attr("name");
colaman32 [2091413] Wiki Contributor
Broke again, same fix as before:


Fixed it by changing line 42/43 from:

var user_id = $("script[src*='builds/chats/chat']").attr("uid");
var username = $("script[src*='builds/chats/chat']").attr("name");


to

var user_id = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("uid");
var username = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("name");
colaman32 [2091413] Wiki Contributor
Broken, fix below:

Fixed it by changing line 42/43 from:

var user_id = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("uid");
var username = $("script[src*='builds/chat/87f221ed2e92f308e5114b8d035c4c52/chats").attr("name");


to

var user_id = $("script[src*='builds/chat/59d9fe8550eafcf95e9afe31b4e9d42e/chats").attr("uid");
var username = $("script[src*='builds/chat/59d9fe8550eafcf95e9afe31b4e9d42e/chats").attr("name");