https://i.stack.imgur.com/jriaP.png
Example image sourced from reddit.com
Illustration represents the desired effect using CSS and possibly JS.
In essence:
- I aim to make an image on a website unclickable to its imageURL
- There should be a context menu that allows right-clicking to open the image URL in a new tab
How can this be achieved solely through CSS (using the Chrome Stylish plugin) and, if necessary, Javascript?
I tried using this method:
pointer-events: none;
applied to the CSS class
However, this code also disables the ability to access the right-click context menu.