<!-- thumbnail: https://i.sstatic.net/Voefu.png -->
<!-- version: 2.0 -->
<!-- tag: data-explorer -->
<!-- excerpt: Automatically logs in to SEDE and remembers the page you targeted. -->

###About:

When you visit SEDE, this userscript:

 1. Automatically logs in you in if needed. (You must have a valid SEDE login).
 2. Redirects back to the original desired page like a good login system should.

###Features:

 - Stores the login credentials in the browser, encrypted.
 - When you first run the script, it will ask for (A) a random seed, and (B) your username and password.
 - Open-source and on GitHub.

###Screenshot:
&emsp; &emsp; &emsp; &emsp; (Click for larger image.)  
&emsp; &emsp; &emsp; &emsp; [![Auto Login sequence][2]][3]![Auto login logo][1]


###Reference:

 - [SEDE login redirects to front page rather than returning][4]
 - [Automatic logging into Data Explorer][5]
 - [Are user accounts on data.stackexchange.com and Stack Exchange two different entities?][6]

<br>
###Platform:

This is a userscript that runs in your browser.  It requires a userscript extension like *Tampermonkey* or *Violentmonkey*.

<br>

###Install button:&emsp;<kbd>[Install from GitHub][7]</kbd>

###Code:

The code is [on GitHub, in the BrockA/SE-misc repository][8].  

Post bug reports and pull requests there. <sup><sub>(Or below if you don't do GitHub.)</sub></sup>  

<br>
**Known issues:**

 1. **Only set up for Stack Exchange Authentication.**  If you use Google or something else, the script will probably have to be modified (Which I can do for a sufficient fee (or pull request)).
 2. Will not support Greasemonkey 4+. Use Tampermonkey or Violentmonkey, or equivalent.


  [1]: https://i.sstatic.net/Voefu.png
  [2]: https://i.sstatic.net/3AYHcl.png "Click for larger image."
  [3]: https://i.sstatic.net/3AYHc.png "Click for larger image."
  [4]: https://meta.stackexchange.com/questions/256042/sede-login-redirects-to-front-page-rather-than-returning
  [5]: https://meta.stackexchange.com/questions/109649/automatic-logging-into-data-explorer
  [6]: https://meta.stackexchange.com/questions/115131/are-user-accounts-on-data-stackexchange-com-and-stack-exchange-two-different-ent
  [7]: https://github.com/BrockA/SE-misc/raw/master/Stack%20Exchange%20Data%20Explorer%20(SEDE)%20auto%20login.user.js
  [8]: https://github.com/BrockA/SE-misc/blob/master/Stack%20Exchange%20Data%20Explorer%20(SEDE)%20auto%20login.user.js