I used to edit the source code of gnome-screenshot in order to remove this cheesy flash BS but later they did something to the libraries to force that crap on the users, so I uninstalled that and moved to scrot. As I like to say often - the person who will impose their vision of how things should work and happen on my computer hasn’t been born yet. That was the only time I edited a code. Oh, wait, no, there’s one more - I edited the xkb symbols files for BG and US layouts and those were originally written in C++ but they weren’t compiled.
There’s an easy way to get rid of the ads throug the router settings, but I for one have no intention of sharing that secret with the Crapindows users. :D