Click here for important information about Computing.net.

Protected pages - How they do it and how do I save them...

Intel / D945gnt
April 13, 2020 at 09:39:28
Specs: Windows 7, Core Duo 2,58 GHZ /2GB
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.

See More: Protected pages - How they do it and how do I save them...


#1
April 20, 2020 at 17:13:19
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?

Report •

#2
January 4, 2021 at 01:30:19
Or maybe it's just an advertisement for the site)

Report •

#3
January 9, 2021 at 09:07:34
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


Report •
Related Solutions


Ask Question