Screenshot / Code Snippet

About

When using the Stack Exchange Data Explorer, one often needs to provide their own user ID as input parameter for the query. According to the SEDE help page,

The ##UserId## parameter is treated specially for users who are logged in. If they have an account on the target site that shares the email used in their Data Explorer account, their user ID on that site will be automatically populated.

However, this doesn't always work. This script aims to fix that, and as a bonus, it will autofill AccountId parameters with your network account ID for cross-site queries.

Download

Install directly or download the source code from GitHub.

Platform

Developed and tested with Tampermonkey on Firefox; somehow it doesn't work with Violentmonkey.

You must log in to answer this question.

Browse other questions tagged .