Settings

Theme

Ask HN: Can someone with enough Karma to downvote confirm the markup?

2 points by markbranly 2 years ago · 6 comments · 1 min read


I'm working on a Hacker News UserStyle that will be a full site redesign but I lack enough karma to downvote. The markup for these is incredibly guess-able but if someone could confirm I'd greatly appreciate it.

  <td valign="top" class="votelinks">
        <center>
          <a
            id="up_39789592"
            class="clicky"
            href="vote?id=39789592&amp;how=up&amp;auth=xxx&amp;goto=ask"
            ><div class="votearrow" title="upvote"></div
          ></a>
          <a
            id="down_39789592"
            class="clicky"
            href="vote?id=39789592&amp;how=down&amp;auth=xxx&amp;goto=ask"
            ><div class="votearrow" title="downvote"></div
          ></a>
        </center>
  </td>
cpburns2009 2 years ago

I see:

    <td valign="top" class="votelinks">
        <center>
            <a
                id="up_12345678"
                class="clicky"
                href="vote?id=12345678&amp;how=up&amp;auth=0000000000000000000000000000000000000000&amp;goto=item%3Fid%3D23456789#12345678"
            >
                <div class="votearrow" title="upvote"></div>
            </a>
            <a
                id="down_12345678"
                class="clicky"
                href="vote?id=12345678&amp;how=down&amp;auth=0000000000000000000000000000000000000000&amp;goto=item%3Fid%3D23456789#12345678"
            >
                <div class="votearrow rotate180" title="downvote"></div>
            </a>
        </center>
    </td>
pvg 2 years ago

It's the same except the up_xxx is replaced by down_xxx, that's the only difference.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection