What is the purpose of the .stretched-link::after CSS style?

Alain Knaff alain at knaff.lu
Sat Jan 6 10:10:02 UTC 2024


Hi,

On 31/12/2023 13:05, Tom Hughes  wrote:
> It's not actually our code, it's part of bootstrap that we
> are using and yes the entire purpose is to make the element
> clickable so in a sense it is a sort of clickjacking,

So, it's not actually your code. But who or what decides under which
circumstances it is "activated"? The "we use" suggest that this may
indeed be Openstreetmap's choice. So, would it be possible to refrain
"using" this style on items which might be an essential part of a
response that the user explicitly asked for. Or any other item with a
non-zero probably that the user might want to copy-paste it?

> just
> one that is a deliberate design choice.

My point is that that "choice" (if it is indeed Openstreetmap's choice)
needlessly limits what the user can do. Especially if it "protects" data
that the user has been explicitly looking for.

> You can see more about how it works in the bootstrap doco:

> https://getbootstrap.com/docs/4.3/utilities/stretched-link/

Thanks for that link. However I still think it's bad form to apply this
to data that the user has explicitly asked for, and that he thus wants
to copy elsewhere (for example to GPS navigation unit, or just to an
electronic notebook to bring with him when he goes to that place he
looked up)

In the meantime, I've disabled this locally using chrome/userContent.css
in my Firefox profile. However, I still think this issue deserves
attention, as it might affect other users as well. Moreover, it might
give a bad example to other sites who might now hide behind "even sites
promoting open data do this".

Thanks,

Alain



More information about the rails-dev mailing list