If you develop desktop applications with Electron, you will quickly need an application menu. Even if you don’t have any menu options that are specific to your application, you will still want to add a menu to get things like copy and paste to work on a mac. Usually you’ll just copy and paste the…
Annoying.js: How to be an asshole
The file itself is commented with “functionality”, so I won’t bother repeating it here. You can invoke different functions via the
Annoying.noSelect(); will disable text selection,
Annoying.noRightClick(); will disable the context menu, and
Annoying.kitchensink(); Will turn all the functionality on. But you’re not going to use it anyway, right? ;)
Breaking out of iframes is something I think more websites should implement, actually, if only to prevent the “OMG!!!! Look What this Kid did to his School after being Expelled! ” scams that all of my friends on Facebook keep falling for.
Let me know if you have any horrible additions!
The Electron App framework makes it really easy to build cross-platform applications. I know this, because I’ve made a bunch. But how do you find out if people are using the features in your application? You could ask them or wait for them to tell you, but you can also use Google Analytics’ event tracking…
I want to tell you about my new company Firstversionist. But to do that, I also need to tell you a little more about me. I have been a bit of everything over the past 20 years of being active on the web. I started out at 10, having a little website focused on other kids…