HackerTrans
トップ新着トレンドコメント過去質問紹介求人

pkalinowski

no profile record

コメント

pkalinowski
·6 年前·議論
Most adblockers can be tricked just by changing request URLs, but uBlock goes one step more and overwrites Google Analytics functions with `null`, so it doesn't work at all. See https://github.com/gorhill/uBlock/blob/master/src/web_access...
pkalinowski
·7 年前·議論
In my free time I try to create some desktop apps. It's my free time, so I decided not to spend time learning Qt or other older solutions for desktop apps and go with the Electron.

I'm too stupid for Electron, though. I wasted many hours trying to debug weird errors which I never know if are caused by Electron itself, bundlers, npm modules not compatible with it or anything else like division between main/renderer process. I just can't grasp it.

I ended up with separate node.js server which takes care of communicating with OS and standard web app with the simplest bundle setup I have found (because I don't understand webpack config, too): Parceljs. Frontend and backend exchange information using socket.io with copy-paste examples from their website.

I couldn't believe it CAN be so simple! Maybe it's not "true" desktop app (it just opens in user browser), but works exactly like I want.