Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

On most Stack Exchange sites, when I visit them I am already logged in if I have logged in before.

Why isn't it the case with Data Explorer?

share|improve this question
up vote 9 down vote accepted

Global login is not open source, nor really open-source-able.

Since the Data Explorer is, we can't easily enable global login for it.

share|improve this answer
Is this also the reason I have to log into anew every day, while I this is not the case at all other SE sites? (This might also have something to do with my using Ghostery, but that doesn't seem to be a problem for other sites.) – doncherry Nov 19 '12 at 20:21

Having to relogin every day is a right pain -- especially since unlogged-in users have to always fill in the CAPTCHA field to run queries.

Here is a simple Greasemonkey script that logs in automatically:

// ==UserScript==
// @name     StackExchange Data Explorer, auto login
// @match    *://*/query/*
// @require
// @require
// @grant    GM_addStyle
// ==/UserScript==
/*- The @grant directive is needed to work around a design change introduced
    in GM 1.0.   It restores the sandbox.

if (/^https?:\/\/data\.stackexchange\.com\/[^\/]+\/query\/.+/i.test (location.href) ) {
    var loginLink   = $("#hlinks-content a:contains('log in')");
    if (loginLink.length) {
        location.assign (loginLink[0].href);
else if (/^https?:\/\/data\.stackexchange\.com\/account\/login.+/i.test (location.href) ) {
    function clickLoginBtn (jNode) {
        var clickEvent  = document.createEvent ('MouseEvents');
        clickEvent.initEvent ('click', true, true);
        jNode[0].dispatchEvent (clickEvent);

    waitForKeyElements ("#openid_btns a.myopenid", clickLoginBtn);

    /*-- Valid link selector values:
        "#openid_btns a.blogger"
        "#openid_btns a.claimid"
        "#openid_btns a.clickpass"
        "#openid_btns a.google_profile"
        "#openid_btns a.livejournal"
        "#openid_btns a.myopenid"
        "#openid_btns a.stackexchange"
        "#openid_btns a.wordpress"


  1. The script uses MyOpenID. For other providers, change the waitForKeyElements selector to the appropriate value listed in the comment.
  2. Assumes the appropriate "remember me" options are set with your ID provider.
  3. To use in Chrome, load the Tampermonkey extension.
share|improve this answer
As a side note, the fact that you have to log in so frequently is a bug and will be fixed in the near future. – Tim Stone Jan 17 '13 at 16:51
Thanks, @TimStone. Looking forward to the fix. – Awesome Poodles Jan 17 '13 at 16:53
Awesome, thanks for the script! Have you considered putting it on StackApps? – doncherry May 10 '13 at 22:39
@doncherry, I hesitated to put it there since the script is not universal (Only runs on GM and TM) and I have no interest in making it work in browsers I don't care about. I'll think about it, though, since SEDE still doesn't seem to retain logins beyond the current session. – Awesome Poodles May 10 '13 at 22:49

You must log in to answer this question.

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