locally.
In sites like fcportables.com for example you can't select neither words nor pictures. I haven't found any other means of saving them except from opening the developer console and grab the text from there paragraph by paragraph.
So the question is two fold: How they do it (I suspect some CSS tricks..) and how I can save them in my pc.
I don't know, for me it seems I can do everything you described you can't. Is there any particular part on that website where you can't apply those actions?
Or maybe it's just an advertisement for the site)
Didnt look at the website, but heres how to do it.. Disable user select:
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
-khtml-user-select: none;
user-select: none;if you want to disable buttons, images, links etc then use pointer-events:
pointer-events: none;
and if you dont want people to right-click > save image then make a div and set image as background instead of using the img tag(in this case people can still inspect and find the url to the image).
you can also style the selection on the site:
*::selection {
background: hsl(0,0%,25%);
color: hsl(0,0%,100%);
}So if you use a CSS plugin in Chrome then you can add your own styling to that site every time you visit it, just change "none" to "all" or "initial" etc...
message edited by Kilavila
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |