4 ms·
Maybe I haven't been paying attention, but I've never had a site attach extra text to copied text like this site does. I wanted to see what the test machine's c
by faster 6y ago
Maybe I haven't been paying attention, but I've never had a site attach extra text to copied text like this site does. I wanted to see what the test machine's case looks like, so I copied the make and model and pasted it into a search bar, and got "Read more:" and a link to the page along with the text I wanted to copy.
No thanks. I'll be skipping that site in the future, unless that javascript comes from a place I can easily block with pi-hole.
- gruez 6y ago>unless that javascript comes from a place I can easily block with pi-hole. Why on earth are you you blocking javascript using dns? Shouldn't you be doing it via the browser (via addons or site preferences)?
- damnencryption 6y agoMaybe he is on phone?
- nicoburns 6y agoYou can probably just block JavaScript entirely for a site like this. I doubt it depends on it. But I agree that adding text to copied text is really irritating.
- kasabali 6y agoImages doesn't load on mobile brave if javascript is blocked.
- rasz 6y agodocument.addEventListener('copy', (event)=>{ const pagelink = `\n\nRead more: ${document.location.href}`; event.clipboardData.setData('text', document.getSelection() + pagelink); event.preventDefault(); }) To prevent this make a custom extension "run_at": "document_start" and inject window.addEventListener('copy', e => e.stopImmediatePropagation(), true); alternatively use for example https://www.tampermonkey.net https://www.tampermonkey.net with Experimental Inject Mode: Instant to inject your pacifying script.
- intricatedetail 6y agoIt's when marketing folks create tasks without any user research.