96 karma · joined September 10, 2014
snippets.glot.io glot.io run.glot.io
┌──────────────────┐ http ┌──────────────────┐ http ┌──────────────────┐
│ glot-snippets │◀─────────│ glot-www │─────────▶│ glot-run │
└──────────────────┘ └──────────────────┘ └──────────────────┘
│ │ │
http │ │ http │
▼ ▼ ▼
┌──────────────────┐ ┌──────────────────┐ ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─
│ couchdb │ │ postgresql │ docker │
└──────────────────┘ └──────────────────┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─
Almost works. I just pasted it as code.Log: http://pastebin.com/EgKhCj6z (Time is EEST, UTC +3)
So, the script creates an (invisible) <img> element for every website which points to the login page (which might redirect to the favicon). If it receives an image, the user is already logged in and the onLoad() callback will fire. Otherwise, it will get an HTML page, so the onError() callback will fire.
It could work with any image on the website, not just the favicon.
To expand on the CAPTCHA problem, I had to complete a CAPTCHA to go to torrentfreak.com.
I got nothing where the CAPTCHA box should have been ([0]). After some time, I refreshed and got [1]. I wrote the CAPTCHA, was given a large bunch of text ([2]) and I copied it to the input field right below. Then, I submitted the form but it still didn't work (would just bring me to the CAPTCHA again). I guess this form of CAPTCHA is for JS-less browsers, but apparently it doesn't work. I had to enable JS for both TorrentFreak, Cloudflare and Google (reCAPTCHA) in order to make show the CAPTCHA and be able to contine.
The above happened right now. It also happened with Reddit (except [0]) a week ago or so. This is all on a vanilla (i.e. no addons) TBB.
[0]: https://i.minus.com/ibeweNVEUJF5eF.png
[1]: https://i.minus.com/ilKn4GHj3VGvO.png
[2]: https://i.minus.com/iqYClN4WabBPo.png
Edit: Fixed images.
</rant>