3,487 reputation
1823
bio website
location
age
visits member for 3 years, 6 months
seen 1 hour ago

2d
comment How to retrieve the body of an accepted answer using the API?
Search filtered down to just the bare amount of stuff you want from the question(s), then use the accepted_answer_id property to get only the accepted answer(s).
2d
comment How to retrieve the body of an accepted answer using the API?
That example you specified returns 20 questions, and every one of them includes an accepted answer. You have to loop through the answers and check the is_accepted flag.
Jan
21
comment StackOverflow iOS App (IPad): How can I pin more than four forums to the left vertical bar?
Off-topic; belongs on meta.stackexchange.com.
Jan
19
comment Is there a userscript to mark lq/rq/cb/whatever links visited?
Oops, never mind. That above approach won't work, because the URL in the history-list will still not match the displayed URL unless you perma-sanitize all links (messing with SE's tracking and statistics).
Jan
19
comment Is there a userscript to mark lq/rq/cb/whatever links visited?
I forgot about that approach. Since you aren't trying to fool the user, or clickjack for revenue or otherwise be Evil (like that site that rhymes with "Google"), that approach may actually be relatively easy. Still have the judgement issues though. Just trimming links is sometimes a disservice.
Jan
19
comment Is there a userscript to mark lq/rq/cb/whatever links visited?
The only way a userscript could do this is to keep track of every visited URL you browse on SE sites! That could get real messy, real fast. ... But a proper browser extension (Add-on) could leverage the protected history API. Both approaches would have to make judgements about what URL-parameters were equivalent though. For example, this and this are obviously the same, but this is not the same at all.
Jan
19
comment Auto-Indenting Script
There's GOT to be a bunch of these out there already. EG: Stackoverflow Code Beautify (Chrome web store).
Jan
18
comment Is it okay to use the Stack Exchange API to get all tags as a one time call for a commercial application?
See the duplicate question. The tag list would fall under cc by-sa 3.0 with attribution required (except, possibly, for the few special moderation tags that were created by SE and © 2015 Stack Exchange Inc).
Jan
16
comment Request for script, or fix, to add Edit-Reason checkboxes
I would, but (1) I'm too lazy, (2) this seems to be low demand, (3) I only occasionally use it myself at the moment (Lost my enthusiasm for mass reviews, ages ago). If something changes, I'll revisit this later.
Jan
16
comment Edit summary options
For those having problems with this script, see Request for script, or fix, to add Edit-Reason checkboxes -- where you can find whole new script(s) that are tested against the latest Stack Exchange and work for all edits, suggested edits, and review edits -- irregardless of how much rep you have.
Jan
16
comment Request for script, or fix, to add Edit-Reason checkboxes
Updated the script on GitHub with the configuration dialog.
Jan
15
comment SE Additional Optional Features
Good job, but I already upvoted. ;)
Jan
14
comment Unable to download data from the API using UNIX wget?
You're welcome! Glad to help.
Jan
14
comment How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
Found an event that's close to what we want and added code showing how to exploit it. Note that it is less impactful, on average, than the simple timer (which has no human-noticeable impact on performance), and much less peak impact than rojo's raw MutationObserver approach (which needs tuning and targeting). But this kind of code is also more complicated and brittle.
Jan
11
comment SE Additional Optional Features
If you use GM setValue() instead of a cookie, then your script will remember the options across every site. They could even be synched from one machine to another, if the user desires.
Jan
10
comment How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
You could try MutationObservers, but I think you'll find that they get pretty fiddly/brittle for this kind of thing.
Jan
10
comment Get UserId by passing email ID in the Stack Exchange API?
possible duplicate of Can there be a way to find a user given his email hash?
Jan
10
comment Max score with tagged works incorrectly for /questions, correctly for /search
Confirmed​​⁠​​⁠.
Jan
8
comment Stack.PY - A Python Module for Accessing the Stack Exchange 2.1 API
You need to provide the steps we can repeat to get the error you list.
Jan
5
comment Answerer Name comment highlighter
Try testing it on posts like this that have hidden comments. (I haven't done this, just sayin'.)