Hacker News new | ask | show | jobs
by fg137 69 days ago
How did you "notice" a suspicious element in the inspector? Do you routinely look at the DOM?
4 comments

I did webdev for a long time, so yeah. If you want the story, I was looking into guix on asahi and ended up on https://www.asahi-guix.org/ which didn’t load anything, so I checked the page source and noticed the element.
Thanks. Not sure what's with the downvotes. That was a genuine question.

(I used to do a lot of web development and probably know dev tools better than most people here. However I almost never look at the DOM of a webpage I don't own)

I frequently look at the DOM of webpages, so that I can bend them to my will.

There's always some things about practically all websites are frustrating. I fix that with custom CSS and/or Javascript that runs when I load specific sites that I use frequently. I can turn a cluttered site into a streamlined site for my needs. I also block a lot of ads, popups and other annoyances this way.

Oh there's another. The web is so miserable nowadays, I waste so much time on this. You don't happen to open source your stuff do you?
Text doesn't transmit tone well. FWIW I interpreted your comment as having somewhat accusatory intent, especially the scare-quoted "notice", for implying the author didn't just happen along his discovery and that he wasn't being fully truthful in his explanation of how he discovered this info.
> Do you routinely look at the DOM?

You don't?

> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

https://news.ycombinator.com/newsguidelines.html

Reading other comments, I noticed that this was a legitimate question.

Are you saying that [You don't?] is cross-examining/swipe, but [How did you "notice"] isn't?

I wouldn't highly object to either but if I had to pick one I'd definitely clear the former.

I do. Then again, I’m a web developer so looking at the DOM is my day job.
I just imagined that this was an exclusive statement.

„What do you do all day?“

„Looking at the DOM. Currently there are too many divs, but the situation seems fine.“

I was sure you're going to take it in the direction of the relevant xkcd [0], so was taken aback that you didn't end it with something like "but today the pattern of divs is all wrong".

[0] https://xkcd.com/722/

The extension injects its ”gimme money” elements even on localhost pages.