How do you link to a specific post in a thread?

WildHorse

Diamond Member
Jun 29, 2003
5,006
0
0
When you post in a long thread, after it "takes" it scrolls to show you your new post. So there must be some way to designate a specific post in a link.

How can we do that?

Say you want to link to one posting far down in some long thread, how do you make your link go to that post, instead of just going to the start of the long thread?

There must be some way to do that.
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Not in the version of Fuse Talk that is implimented here.

We (as a community) have requested it multiple times to no avail. :(
 

olds

Elite Member
Mar 3, 2000
50,124
778
126
From here, it looks like the coding hosed up the thread. I can't see thew right side of the post and there is no scrollbar.
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Works, but is it worth doing the steps.

It would be much nicer if it could be stored as a cookie. The cookie already knows when you visited a thread, have it record the last id of the post in the thread using the method described.
 

DivideBYZero

Lifer
May 18, 2001
24,117
2
0
Originally posted by: EagleKeeper
Works, but is it worth doing the steps.

It would be much nicer if it could be stored as a cookie. The cookie already knows when you visited a thread, have it record the last id of the post in the thread using the method described.

Just like SMF does...
 

Alone

Diamond Member
Nov 19, 2006
7,490
0
0
There we go. It works for me, hopefully you too. All you have to do is paste this into a text document, and save it as atanchors.user.js. Then install it with the greasemonkey extension.
EDIT: Evadman posted a modified script with many more options. Find it here

// Anandtech Anchor Script
// version 1.0
// written by Alone
// --------------------------------------------------------------------
//
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later: http://greasemonkey.mozdev.org/</a>
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "Anandtech Anchor Script", and click Uninstall.
//
// ==UserScript==
// @name Anandtech Anchor Script
// @namespace Alone
// @description Turns all post anchors into links
// @include *.anandtech.com/messageview*
// ==/UserScript==

// get all anchors with name attribute
anchors=document.evaluate('//a[@name]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
for (var i = 0; anchor=anchors.snapshotItem(i++);) {
if(!anchor.href) anchor.href='#'+anchor.name; // if not a link make it a link
if(!anchor.innerHTML) anchor.innerHTML='<strong>Direct Link</strong>'; // if it has no text give it some
}
 

TheGizmo

Diamond Member
Dec 31, 2000
3,627
0
71
Originally posted by: Alone
There we go. It works for me, hopefully you too. All you have to do is paste this into a text document, and save it as atanchors.user.js. Then install it with the greasemonkey extension.

// Anandtech Anchor Script
// version 1.0
// written by Alone
// --------------------------------------------------------------------
//
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "Anandtech Anchor Script", and click Uninstall.
//
// ==UserScript==
// @name Anandtech Anchor Script
// @namespace Alone
// @description Turns all post anchors into links
// @include *.anandtech.com?messageview*
// ==/UserScript==

// get all anchors with name attribute
anchors=document.evaluate('//a[@name]',document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
for (var i = 0; anchor=anchors.snapshotItem(i++);) {
if(!anchor.href) anchor.href='#'+anchor.name; // if not a link make it a link
if(!anchor.innerHTML) anchor.innerHTML='Direct Link'; // if it has no text give it some
}

wooo.. you go girl!!!11
i mean .. thats coo, thanks :D
 

WildHorse

Diamond Member
Jun 29, 2003
5,006
0
0
Alone,

O.K., I've got Greasemonkey & your script both installed.

I don't understand how to execute uyour script, make it "go."
 

Alone

Diamond Member
Nov 19, 2006
7,490
0
0
Originally posted by: scott
Alone,

O.K., I've got Greasemonkey & your script both installed.

I don't understand how to execute uyour script, make it "go."

If you installed it as well as greasemonkey, it should already "go". Look above the messages post time and it'll show a link that says "Direct Link". Right click -> copy link location.

Example.
 

Kromis

Diamond Member
Mar 2, 2006
5,214
1
81
Originally posted by: Alone
Originally posted by: scott
Alone,

O.K., I've got Greasemonkey & your script both installed.

I don't understand how to execute uyour script, make it "go."

If you installed it as well as greasemonkey, it should already "go". Look above the messages post time and it'll show a link that says "Direct Link". Right click -> copy link location.

Example.

That is SO ownage!

This thread is so crazy!
 

WildHorse

Diamond Member
Jun 29, 2003
5,006
0
0
Alone:

Hey IT WORKS!

So to use it you click directly on the words, "Direct Link," right?

Clicking on the words "Direct Link" causes the url displayed at the top of the web browser to change to the exact url of that post. So click 'Direct Link" and copy the url from the top of the web browser, then paste that urk into your new post.

Doing it in this manner does now work for me. Is that how you intend for it to be used?

And Thank You!
 

Spacehead

Lifer
Jun 2, 2002
13,067
9,858
136
I can't seem to get this script to work for me. I thought my other AT script was interferring with it but i diabled it & your script still doesn't work.
It's in the list as Anandtech Anchor Script under Manage User Scripts.

Shouldn't matter what version of FF i'm using, should it? I updated Greasemonkey this morning too.
Wonder if Adlock or something else in interferring?

Under Included Pages it should contain the following, corredt?
*.anandtech.com?messageview*
 

Alone

Diamond Member
Nov 19, 2006
7,490
0
0
Yeah I had to edit the script. Remove it and re-install it with the script here. I screwed up which pages were included, and it should be /messageview* and not ?messageview*
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
Awesome Script Alone, but I don't like the placement of the link. On the theme I have it adds a white horizontal row between each post in the thread. I am going to move it to a link right after the time and before the NEW icon. Gimme a sec.

<edit>
Wow, that was more of a PITA than I thought it would be. It would have been nicer if the spans had an ID. Arrg. Anyway, here:
<edit#2>
arrg. I had the bold tag in the code so it got messed up. Hold on I will upload elsewhere.

Downlaod Linky

As a bonus, it can create the link as the cookie icon if you want :p See the code to check it out.
 

RossMAN

Grand Nagus
Feb 24, 2000
79,008
430
136
Originally posted by: Evadman
Awesome Script Alone, but I don't like the placement of the link. On the theme I have it adds a white horizontal row between each post in the thread. I am going to move it to a link right after the time and before the NEW icon. Gimme a sec.

<edit>
Wow, that was more of a PITA than I thought it would be. It would have been nicer if the spans had an ID. Arrg. Anyway, here:
<edit#2>
arrg. I had the bold tag in the code so it got messed up. Hold on I will upload elsewhere.

Downlaod Linky

As a bonus, it can create the link as the cookie icon if you want :p See the code to check it out.

Can you post a screenshot to your updated script? Thanks.