26

Go there! http://teststackoverflow.com/ We are running performance tests analyzing changes to our global network. It is not malicious, we're just collecting performance metrics as we make major changes to our infrastructure. We want to ensure performance gets better, not worse, as we make changes. Edit: I forgot to mention the separate domain is ...


25

formatUnicorn is just a utility function for subbing in values to simple string templates in various places in the Stack Exchange JavaScript, using curly braces as the token delimiter. It's used on things like request routes to inject parameters. As for the name, we can only guess… * *It knows it's an abomination, don't stare at it!


23

Well, that was my bad. Time to back go spin the wheel of blame to make sure we choose an appropriate victim. I should have shelved a change and instead pushed the go live button.


20

UPDATE: Yes! Victory for reverse-engineering of the unicorn voting animations! UPDATE 2: I made a userscript! Find it here on Stack Apps! Here I shall document my progress so far. This URL: http://meta.stackoverflow.com/unicoin/available-powerups looks promising.... {"powerups":[{"name":"Voting animations","useid":"f1bb643faf2c4382a56a7dfb945269c8","...


19

No. Keeping the site fast (using CDNs with no cookies and long expiry times) for 99% of users far outweighs the importance of appeasing 1% of extremely persnickety users. Graceful degradation only goes so far, and once you're at the point of appeasing people who don't want to run JavaScript code or third-party scripts you're looking into seriously degrading ...


18

We are trying to block a scraper that is scraping against our terms & conditions. This bug was an unforeseen consequence of trying to ban them client side - not realizing that atob is not supported by IE 7/8/9 (and 10 in 7/8/9 mode). I am reverting the change and deploying as we speak. Meta is back to normal now... as is the rest of the network.


18

Being fixed as we speak; should be back to working in a few minutes.


17

My take is that it's virtually no effort, and certainly not noise, to just throw this at the end of any answer that uses ES5 features: Note that the above uses ____ from ES5. Not all browsers have it yet, if you need to support them you'll need to supply it (perhaps via es5-shim.js or similar). Three reasons: People asking JavaScript questions are a ...


15

Would convert Mołot's answer to a comment, but I can't as JavaScript is broken on meta. Would comment to that effect, but I can't for the same reason that he can't either. But if JavaScript wasn't broken, this question wouldn't have existed in the first place. Why am I still here?


14

One moment there: only works when JavaScript is disabled by something browser-related (the browser itself or an extension). It doesn't work when JS is disabled by a firewall, for example So you want us to defensively code our site because you suspect there are firewalls out there that strip out SCRIPT tags and neglect to blank out the NOSCRIPT tags?...


13

This is caused by an error in Easylist. See GitHub. All sites with an N anywhere have resources blocked, including cdn.sstatic.net. It should be fixed now. Make sure to update Easylist to get the solution.


12

I feel your pain; the local devs would allow console in production code from time to time for some reason. As a workaround, just bring up the IE dev tools by pressing F12. This will define console and the button will work.


12

This is fixed in the next build, which should roll out within a few minutes. Sorry 'bout that :-(


12

If I understand it correctly, the only way to do that would be to license the entire JavaScript part of the SE website under an open source license. I don't see any compelling reason for SE to do that. They have open-sourced various parts of their platform in the past, but none of those were core components of the Q&A platform. I'd also guess that the ...


12

You can't hack the parent site when using Stack Snippets since those are loaded in a sandboxed iframe. You also can't hack from the browser console since voting HTTP requests has to come from the same origin, so you can't make cross site requests (CSRF). The only possible way to 'hack' is when you yourself have access to the browser and its console and ...


12

Thanks for reporting this. It has been fixed across the network now and you should be able to add bounties until your heart is content. Thanks to balpha who smashed the bug very quickly.


11

The 'Stack Overflow' way is to narrow down your code to the relevant portions. See Short, Self contained, Correct, Example. Readers typically won't spend a lot of time hunting down the bug in YOUR code, especially if you just upload it and state something along the lines of 'this doesn't work'. Regarding the method to post that complete example, I have ...


11

I dislike this proposal cause it cascades. What about cdn.sstatic.net? Should we add a fallback to sstatic.net? Perhaps the network is totally disallowing remote resources, what about a second level fallback to stackoverflow.com? What happens if downloading stuff from Google is taking 30 seconds to time out? Now the fallback is going to be mega delayed. ...


11

Voting is broken: the one valid use case ever for a "me, too" answer? Sign the petition below the line if you're having the same p0rblem. You will all be expected to upvote the question when things are fixed. Undo JoshC bfavaretto & sergio - This is also happening on Stack Overflow em Português, and its meta. (and we are overwriting each other's edits ...


11

We changed to the UglifyJS2 compiler yesterday to eliminate the dependency on Closure in our environment. Why? Cause Java, that's why. We don't install Java on our build machines, it just happens to be there in a small way because we use TeamCity as our build system, so the agent itself is Java-based and contains a small JRE within. The conflict of required ...


10

I think this is a good idea. As a Chinese visitor I'd like to use jquery cdn from baidu.The url is http://libs.baidu.com/jquery/1.11.1/jquery.min.js


10

There's a bit of plumbing going on ... Well, this might be a more accurate depiction: A fix is being has been deployed.


10

This was the work (but not the fault) of jTab, which is used on Music Stack Exchange to render guitar chord notation. We were telling jTab to handle each and every <pre><code> block we could find; especially every indented block like the ones you created. jTab dutifully converted them to a graphical representation, but of course your tables don't ...


9

(Sorry for abusing the answer box here, but I thought this might be helpful in tracking down where the problem lies. I'm using comment votes as an example, it should apply to all the other elements Matthew Read mentioned) When I load a Music.SE question for the first time (and comment voting is not working), I can look in Chrome dev tools and see this "...


9

This has been fixed on our side (Adzerk, I'm the Founder and CEO) - we recently added events to our client-side JavaScript and when de-serializing some records it was failing. This was due to the fact that we use a modified BASE64 (that will work on our URLs) and we weren't correctly de-modifying it before we tried to decode it. It didn't cause any issues -...


9

Jeremy Banks wins: that hack was overzealously replacing commas everywhere, even inside scripts. It has been replaced with, hum, a more proper hack.


8

It is not a library; this is a custom implementation by the Stack Exchange team. This approach is known as parallax web design, and usually involves moving elements in response to a user scrolling. The animation leverages the jQuery API, but other than a few shortcuts jQuery provides, jQuery itself has nothing to do with it. You can see the script here. (...


8

I can confirm I'm able to reproduce the error as well. Looking into the issue further now. I'll post any relevant updates here. Update: It appears that the error was a result of secure content being served on the regular, http version of SO. The client provided non-SSL tags, which when tested, no longer created the NPObject error. In anticipation of SO ...


8

Using Keith's C# class MouseOperation and the code below all you need is to point to the rock and hold Shift: [DllImport("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)] public static extern short GetAsyncKeyState(int vkey); static void Main(string[] args) { for (;;) { System.Threading.Thread.Sleep(5); if (...


Only top voted, non community-wiki answers of a minimum length are eligible