2
\$\begingroup\$

Example of automated leaderboard:

Make your language unusable

Stack Overflow now by default loads as HTTPS. This means that the existing snippet is broken, because it tries to request a http resource from a https page, and as such triggers a Mixed Content warning. Fixing the snippet requires changing the protocol of the 2 url functions from http to https. I have already verified that this solution works, but was unable to implement it anywhere because I do not have the required privilege.

The problem is that this script is used in many questions to automatically generate the leaderboard, and in each question it is duplicated. Fixing this would require a ton of effort, and while having this leaderboard is useful, I'm not sure whether fixing it for all questions is worth it.

Note that this does not have anything to do with api.stackExchange not accepting any http requests. The problem is the mixed content warnings that prevent cross-protocol requests.

hyperneutrino Mod
42.8k2 gold badges27 silver badges71 bronze badges
asked Apr 3, 2017 at 12:40
\$\endgroup\$
1

1 Answer 1

4
\$\begingroup\$

Yes, they should be fixed.

Considering that all other URLs on the site are being moved to HTTPS, it makes sense that we move the ones the get missed because they are part of a snippet.

They should be changed from http:// to https://.

answered Apr 3, 2017 at 13:32
\$\endgroup\$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.