5

This script provides you with a box which contains the links to the answers on this page.

(Click for larger image)
Screenshot

Get / update this script.

1
  • Looks good. A little design work and I think it's good to go. I like the settings option btw. Could have more options. People love options. A button to activate only when the page is long. A button to increase the answer count before scrolling from 19 to 30 (30 answers are the maximum amount allowed per page anyway).
    – kockburn
    Commented Jul 1, 2015 at 11:53

5 Answers 5

4

  1. person who answered now shown
  2. the answer score shown
  3. owner reps shown
  4. box floats correctly

Awesome script. Here is a eventual feature for it that could be useful.

Instead of listing answers 'anonymously' you could have the person who answered, their reputation, their upvote count and so on.

Also, I have a very wide screen and the Quick navigation box floats far left unlike the other content.

enter image description here

Otherwise, I'll be sure to keep using this. :)

12
  • 1
    Lol, I'll consider :) Also: avatar, number of votes, number of the question / answers they provided, etc :D
    – nicael
    Commented Jun 30, 2015 at 14:32
  • But seriously, where would you find so much space?
    – nicael
    Commented Jun 30, 2015 at 14:36
  • Wait, the last screenshot is the bug in your browser. The question content always flows center.
    – nicael
    Commented Jun 30, 2015 at 14:37
  • 1
    @nicael actually I cut the screenshot. There is equal space on the right.
    – kockburn
    Commented Jun 30, 2015 at 14:40
  • 1
    Got it; approve my edit :)
    – nicael
    Commented Jun 30, 2015 at 14:41
  • @nicael I thought about it. Probably just the upvote count would be good enough.
    – kockburn
    Commented Jun 30, 2015 at 18:07
  • 1
    Hey, I've made it! approve another edit :)
    – nicael
    Commented Jun 30, 2015 at 18:50
  • @nicael trying it out and it looks awesome!
    – kockburn
    Commented Jul 1, 2015 at 7:15
  • I've made a tool on my server for collaborative editing. We can use this tool as a dev version of script and push the ready version to GreasyFork, agree? Or we can make it the production version, but this will prevent us testing together.
    – nicael
    Commented Jul 1, 2015 at 15:15
  • (It requires access token, once you're ready to get it, ping me)
    – nicael
    Commented Jul 1, 2015 at 15:16
  • That's fine! Can you push a new version? (add some comments to the code and check)
    – nicael
    Commented Jul 1, 2015 at 15:23
  • Nice :) Now we can decide, will it be a dev or destination version?
    – nicael
    Commented Jul 1, 2015 at 15:24
2

  • in case if owner is deleted, using "Answer by deleted user"
  • in case if CW, using "Community Wiki answer"

When the user is a community wiki there is no reputation shown. This does make sense since they don't have reputation. Adding an abbreviation of some sort might be helpful, such as "cw".

Here is an example of the problem answer from a community wiki:

5
  • 1
    Okay, I'll address it later today. It also happens when the user is deleted.
    – nicael
    Commented Jul 1, 2015 at 7:58
  • @nicael if I have more bugs should I add them to my existing answer or should I create a new answer? The bug in question is: When an answer gets deleted or added the Quick Navigation box doesn't get updated.
    – kockburn
    Commented Jul 1, 2015 at 8:57
  • 1
    That's not a bug, the box is inited once the page is loaded and not updated until you reload the page. You can post it as a feature-request in the separate answer :)
    – nicael
    Commented Jul 1, 2015 at 9:12
  • I've implemented it, upgrade your script :)
    – nicael
    Commented Jul 1, 2015 at 9:53
  • @nicael nice :) . It looks good and clean.
    – kockburn
    Commented Jul 1, 2015 at 9:58
2

(except deletion)

The realtime updates are enabled by default .You can opt out of them by clicking "settings" and unchecking "real-time updates".


When an answer gets deleted or added, it would be nice if the Quick Navigation box got updated. As well as live update when an answer gets upvoted/downvoted.

7
  • Deleted, however, would quite difficult because the box should get the reloaded version of the page, which is quite difficult, especially in case of code golf - many resources to load. Also, how would you suppose the script to determine the deletion if there are more than 30 answers? (Maybe you can think of a different technique?) All the other points are completely valid.
    – nicael
    Commented Jul 1, 2015 at 9:22
  • @nicael I agree. Deleted might not be worth it. SO doesn't even update a question/answer if it gets deleted. You'd have to refresh the page anyway.
    – kockburn
    Commented Jul 1, 2015 at 9:24
  • 1
    Yes, was going to say about it too - SE doesn't handle the deletion process real-time, so it would be weird if my script would, because it will lead to inconsistency.
    – nicael
    Commented Jul 1, 2015 at 9:31
  • 1
    Sorry for upvoting / removing upvotes; was testing realtime votes update, it works :)
    – nicael
    Commented Jul 1, 2015 at 11:41
  • @nicael yeah I was wondering what was happening x). That's awesome that it works.
    – kockburn
    Commented Jul 1, 2015 at 11:43
  • I've uploaded the new version, try it :)
    – nicael
    Commented Jul 1, 2015 at 11:44
  • @nicael yup works well. Atleast the upvoting works. Still have to see about downvoting:)
    – kockburn
    Commented Jul 1, 2015 at 11:48
2

New feature: if there's a pager displayed (for the reason of 30+ answers), the Quick Nav box gets a mini-pager too:

This feature is available as of Quick Nav v2.4

1
  • I like the page numbers. Looks good.
    – kockburn
    Commented Jul 2, 2015 at 6:21
2


When searching questions with a specific tag, the quick navigation button will appear. Here is a screenshot showing the bug.

plugin bug

9
  • 1
    Yeah, did notice recently. The problem is the script is wild carded to function on /questions/*
    – nicael
    Commented Jul 1, 2015 at 12:34
  • Hmm wonder if it's possible to exclude /questions/tagged/
    – kockburn
    Commented Jul 1, 2015 at 12:38
  • Of course it is; going to do it.
    – nicael
    Commented Jul 1, 2015 at 12:43
  • @nicael I wouldn't mind spending time working on this plugin as well. If you need me to work on something let me know.
    – kockburn
    Commented Jul 1, 2015 at 12:44
  • That's interesting; how would I go about setting the write access for you? I just don't know.
    – nicael
    Commented Jul 1, 2015 at 12:53
  • However, I know. I can host it on my server and let you write. Okay? It'll take some time however.
    – nicael
    Commented Jul 1, 2015 at 12:54
  • 1
    @nicael to be honest just create a GitHub? Create a master and dev branch.
    – kockburn
    Commented Jul 1, 2015 at 12:55
  • I don't use GitHub and don't know anything about manipulating projects with it... Another option... Create a community wiki post there.
    – nicael
    Commented Jul 1, 2015 at 12:57
  • 2
    @nicael really useful tool and avoids making mistakes and writing on top of each other. Contributing to open source projects is really easy with it.
    – kockburn
    Commented Jul 1, 2015 at 12:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .