Tech Note: The Opera Conundrum

Just checking…
LGF • Views: 18,902

Here’s a tech note that will, as all tech notes do, almost immediately turn into a Friday night open thread.

I’ve gotten several complaints about the LGF front page crashing in the Opera browser, or taking forever to load if it doesn’t crash.

I traced the problem to a recent change in the way I was loading Javascript files; I was experimenting with combining all the Javascript into one big, big file, because requesting one file over the Internet is a whole lot faster than requesting multiple files. This technique worked well in Safari, Chrome, Internet Explorer 9, and Firefox, but Opera went into uncontrollable seizures, leaking memory all over the place and eventually locking up. In Linux (Ubuntu) it even took down the whole OS. Impressive. I suspect some kind of internal buffer overflow problem in Opera, but who knows?

So I abandoned the “one big file” approach, and broke the Javascript out into separate files again, and now Opera seems to be much happier with LGF. You don’t want to get the fat lady mad at you.

If you’re still having trouble in Opera, please let me know by posting a comment or using our Contact form (in the left sidebar). I’ve tested both Mac and PC versions here at LGF HQ and they pass with flying colors.

(At the risk of angering the fat lady, I cheated a little, and I’m still combining as many of the Javascript files as possible. If you look at the source of LGF, you’ll only see three Javascript files being explicitly loaded. And I also changed the way I’m loading the external AddThis and Google +1 Javascript files; they’re both fully asynchronous now, and they’re loaded in our jQuery $(document).ready() function, which speeds things up significantly.)

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2023-04-04 11:11 am PDT
LGF User's Guide RSS Feeds

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Cash.app
Recent PagesClick to refresh
Why Did More Than 1,000 People Die After Police Subdued Them With Force That Isn’t Meant to Kill? An investigation led by The Associated Press has found that, over a decade, more than 1,000 people died after police subdued them through physical holds, stun guns, body blows and other force not intended to be lethal. More: Why ...
Cheechako
Yesterday
Views: 35 • Comments: 0 • Rating: 0
A Closer Look at the Eastman State Bar DecisionTaking a few minutes away from work things to read through the Eastman decision. As I'm sure many of you know, Eastman was my law school con law professor. I knew him pretty well because I was also running in ...
KGxvi
Yesterday
Views: 89 • Comments: 1 • Rating: 1