[19:02:59] Krenair: console or user script? [19:03:09] both [19:04:04] Krenair: hmm for me as well (Chrome mobile, global.js) [19:04:11] Can you file an RL task? [19:04:14] no hang on [19:04:21] something's strange here... [19:05:53] yeah in debug=true, my global.js gets run but my $( window ).load function doesn't get run [19:06:37] I do see a warning about .on('load') being called after load event occurred [19:06:41] but if I then try to mw.config.get('wgHostname'); in the console that's fine [19:07:23] without debug=true, the function gets run but both inside it and afterwards in the console, mw.config.get('wgHostname') returns null [19:07:40] this is FF on my laptop [19:09:51] probably looking at two separate issues here and it's entirely possible one is with my global.js code [19:12:38] Krinkle, is it expected that $( window ).load behaves like this? not running the function if the load event occurred earlier? Somehow I felt like there was some special case somewhere for an event relating to page loads? [19:47:55] Krenair: that is expected. you probably want to use $(document).ready (or just $() ) [19:48:27] (that is just in regards to your last comment. i'm missing context from earlier) [19:49:15] Right, yes [19:49:17] That's better [19:49:23] okay so back to the original thing [19:49:41] that's still a problem so I'm gonna open an RL task [19:49:45] thanks MatmaRex [20:06:39] I did used to know this stuff btw :) [20:15:23] anyway I made https://phabricator.wikimedia.org/T208093