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

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
14
revised How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
added 1745 characters in body
Jan
14
revised How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
[Edit removed during grace period]
Jan
14
revised How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
[Edit removed during grace period]
Jan
12
reviewed No Action Needed Metro Stack - A Windows Phone Stack Exchange app
Jan
12
reviewed Reviewed Development and Testing (Placeholder)
Jan
12
revised Development and Testing (Placeholder)
edited tags
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
11
reviewed No Action Needed “Reply” links on comments
Jan
10
revised Obtain JSON equivalent of a full Q&A HTML page?
added 2 characters in body; edited tags
Jan
10
reviewed Reviewed Get the list of question ids under a particular tag?
Jan
10
revised Getting questions that have a specific tag or tags?
deleted 174 characters in body
Jan
10
revised Get the list of question ids under a particular tag?
More accurate tags, fixed spelling and/or grammar, removed thanks per SE policy.
Jan
10
revised Getting questions that have a specific tag or tags?
added 15 characters in body; edited tags
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
answered How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
Jan
10
reviewed Reviewed How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
Jan
10
revised How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?
edited tags
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
revised Get UserId by passing email ID in the Stack Exchange API?
deleted 12 characters in body; edited tags; edited title