Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Quickmeme used the infamous transparent JPG trick to prevent direct linking of images, forcing links on /r/AdviceAnimals to link to the page with ads.


Yeah, that was annoying to deal with when I posted because I would have to use Chrome's Dev tools to extract the image Url. For the average user, this wasn't so helpful if they didn't want ads.


Can you explain how this works or provide a link to an explanation? Thanks.



So this means that there are a significant number of people "skilled" enough to right-click, but not skilled enough to view source. The mind boggles...


The latest variations of this put the transparent JPG in the source code, then load in the image via JS with a lower Z layer. Now you move from "View Source", to "Developer Extension, watch assets, copy initial URL, paste, save".


Nope, just Select All → View Source, which shows the current DOM state, at least on Firefox.


Used to weird me out that Chrome performs a new GET request for page source but I guess I'm used to it now.


Well today I learned something new!


How is that at all surprising? Right click is a really common thing for most non-Mac users. View source is something most people have only used by accident.


when was the last time you used a mac? right click has been omnipresent for the past half decade.


I use a Mac every day. I also watch other people use Macs and not only do they not use a contextual menu, but they by and large don't use keyboard shortcuts either. HN users are a pretty small subset of computer users.


select text an address bar, ctrl-c

click somewhere else ctrl-v

and yes, view-source is beyond most people




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: