cpriest / SnapLinksPlus

Snap Links Plus is a Browser Addon that lets you lasso links, checkboxes and other elements do things with them.
Other
197 stars 35 forks source link

0 links? ... #458

Open Albretch opened 11 months ago

Albretch commented 11 months ago

try this page: https://archive.org/details/iacl why is it your add on doesn't detect any links? Any suggestions on how to get the links more or less in the way you do by just hovering over them? Maybe using wireshark or whatever to log the links somehow? There should be a way because the browser is seeing and opening them!

cpriest commented 11 months ago

Well, it's because it is not a link, it's an H4 header element. This is why we have HTML standards, some websites disregard them though.

If you turn javascript off, this page will not work at all, because all of this "magic" is happening by way of their website code.

See image: image

Albretch commented 11 months ago

So, they are hiding/"truncating" the links, by sending whatever data inside of the h4 segment when you click on or hover over it and that data is used to produce the actual link to their data URL through some web server replacement "magic". I think there is an idea for an addon or an extension to yours right there ;-). As you hover over the obfuscated "links" the URLs are appended on the console, (to the user clipboard, maybe?) or some chosen file. As part of my corpora research I need millions of text files for which I must use some downloading code. I don't know if that kind of "on-the-fly" ephemeral obfuscation (for which they most likely use session cookies, as well) has become the new normal, nor do I know why archive.org started to do such thing weeks ago.