Recent posts by zAlbee on Kongregate

Flag Post

Topic: Technical Support / JSONP REST API broken

Sorry for cross-posting, but would an admin be able to look into this server headers issue that I reported in the Kongregate API forum?

 
Flag Post

Topic: Kongregate APIs / Bug: JSONP REST API broken due to incorrect Content-Type headers and Strict MIME Checking

Recently, I noticed that my badge graph page is broken in Chrome 38.

Based on my investigation, I believe it’s caused by incorrect headers served up by Kongregate.

The page uses the REST API for badges. Specifically, it uses the JSONP version of it, by asking for a callback function, and including that in the <script src> tag.

This worked fine for years, until Chrome recently changed the behaviour. Now the Javascript console shows:

Refused to execute script from 'http://www.kongregate.com/accounts/zalbee/badges.json?callback=cbUser' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

What’s happening is that the browser sees these two response headers being sent by Kongregate:

Content-Type: application/json; charset=utf-8
X-Content-Type-Options: nosniff

The “nosniff” header enables strict checking. And since “application/json” is not on the list of executable MIME types, the browser refuses to execute the script. (Executable types include “text/javascript” and “application/javascript”).

Chrome developers have confirmed that this is the intended behaviour in this bug report and it was committed in this patch :

This patch adds support for ‘X-Content-Type-Options: nosniff’ when
deciding whether or not to execute a given chunk of JavaScript. If the
header is present, script will only execute if it matches a predefined
set of MIME types1 that are deemed “executable”. Scripts served with
types that don’t match the list will not execute.

Chrome matches the behavior of IE8, 9, and 10 on this page, and Gecko will match if/when they fix https://bugzilla.mozilla.org/show_bug.cgi?id=471020.

Kongregate admins, can this be fixed?

Thanks,
zAlbee

 
Flag Post

Topic: AdVenture Capitalist / Little disappointed

That’s because this was supposed to be a small update, so that progress doesn’t stagnate while they work on the big update. Read the damn posts.

 
Flag Post

Topic: Kongregate / Is it really against Kongregate rules?

Harassment is against the rules.

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

GG MachuPichu. Apologies for not being competitive, was swamped at work. These were the scores I got last Sunday. I was pretty happy that I broke 100k in DinoRun, though clearly that wasn’t enough (how does anyone get 400k??), but Soap Bubble II was a goddamn travesty. Even if I had time, I probably would have hated myself for playing it.


 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Soap Bubble, o how i hate you, let me count the ways…

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Been real busy all week. Here are some minimal scores.




 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Just in case:

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Last minute improvement (!)

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Oh man. This is too close for comfort.

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Looks like The Unexpected Bug encountered… an unexpected bug: http://cow.org/csi/

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Originally posted by JoshDragon:

Were I not the type of person who enjoys challenges, it wouldn’t be something I’d be too happy about.

But wouldn’t it not be nothing that you wouldn’t not unenjoy not unusing double-unminus non-negatively notwithstanding without?

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Interesting how some of the score breakdowns are so different. My strat is clearly not optimal. Btw, the weird clipping in my image is due to some bug of the chat resizer extension… no idea how to fix that.

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

this is a better zillix game :)

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Hopefully I never have to play Summit again.



 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

I’m not sure it’s infiniwhorable so much as it’s a heavily lag-dependent game. Undecided.

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Summit

Hippolyta

Vector Conflict

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

OK after re-reading properly, there apparently IS an API for this game and I need the high scores tab. Who knew?

 
Flag Post

Topic: Kongregate / [Tournament] Lousy Smarch Madness 2 -- Congratulations ActiveUnique!

Well, I was planning to take a break from Kong for a while, but I can’t resist a Precarious tournament. Count me in. :D

http://zalbee.intricus.net/pics/drprecarious.png
EDIT:

 
Flag Post

Topic: Forum Games / Flash: The Games: The Tourney [Tournament] [Winners Quarterfinals, Losers Round 5] [GAME CHANGE]

I am quite bad at this game. Also I’m leaving on a 5-day trip in a few hours (and not bringing any laptop), so this is probably my last score. GG Ferrish. Looking forward to winner of racefan12 v. mikerspd :P

 
Flag Post

Topic: Forum Games / Flash: The Games: The Tourney [Tournament] [Winners Quarterfinals, Losers Round 5] [GAME CHANGE]

I’ve just been informed that my webhost went down. Here is a mirror of the score that I posted yesterday. EDIT: It is also visible in LouWeed’s screenshot.

 
Flag Post

Topic: Kongregate / Admin

You don’t need to be a citizen of a country to live and work in that country. Even that age requirement is bunk. I would guess what Emily said is that they hire people who can legally work in SF or Portland. These are very different things.

 
Flag Post

Topic: Forum Games / Flash: The Games: The Tourney [Tournament] [Winners Quarterfinals, Losers Round 5] [GAME CHANGE]

Except that’s not true. Our previous scores weren’t completely wiped away. And you don’t have to beat him “again”. You just have to beat him. The extra day’s score only counts if it’s higher than the previous.

If someone had the highest score after the extra day, I find it hard to say that they don’t “deserve” the win. But then I’m biased, so I don’t know.

 
Flag Post

Topic: Forum Games / Flash: The Games: The Tourney [Tournament] [Winners Quarterfinals, Losers Round 5] [GAME CHANGE]

I lied. I now have a reason to support the host’s deadline change. :D