Enable/disable Text selection |
IF you are new to blogging you will face many problems while writting a blog,problems like:- lack of knowledge or information about topic, content text ,Trending subject, Current martketing topics or New niches etc.for getting the solutions of these kind of problem you start searching things on google and after some searches you get some genuine and correct information about a particular topic related to your blog.
From the beginning,The main purpose of internet was for sharing information freely to everyone & everywhere.after the time many of the devlopers created websites which is started using by many big agencies ,companies and industries to share info's.later the information and content are started stealing and copying. for avoiding this kind of things devlopers made some change and came with several ideas to disable copying of information or content from the official and reputed websites.
The very common way to disabling copy paste content involves a javascript code ,whereas some other people used to do some simple styling property to disable this text selection trick.
I have suggested 5 Best ways that you can use to copy content from a website easily where the text selection is disabled:-
1. Disabling JavaScript from the browser
you can easily Disable the JavaScript codes from the browser As I mentioned in the beginning that most of websites uses JavaScript codes to disable or avoid text selection and rightclicking on the page.
Luckily some browsers like chrome,firefox,etc.. have a special setting where you can either you can choose to enable or disable the JavaScript codes and in this case you need to disable this setting then save and start a reload for the page.
A. First go to the setting by clicking on the three dots in the right corner of the chrome browser.
browser setting |
B. Now,you can see "privacy and sequirity" setting in the left corner in the setting menu.
privacy and sequirity |
C. click on the site setting in the "privacy and sequirity" setting after that you will see this page.
javascript |
D. Now the final step is to click on the javascript option and you will see this box where there is a button which is allowed already. so you need to disable it for every site.Now you good to go. Go back and reload the website page.
disable javascript |
also, Once you done copying some content or text make sure you not forget to activate javascript again because some websites like facebook,twitter,quora and other heavy rely on Javascript and by disabling it can break these websites.
"shortcut for the page of javascript enable or disable button"
The best shortcut for this action is to click on the url box of the chrome and paste this chrome://settings/content/javascript now click enter you will be redirected to the javascript box page, now you can easily enable or disable whenever you need.
shortcut-way |
2. Print website in to PDF
printing the page is an another option which is quite good for nowadays,first go to the website from where you want to extract the content. Now,right click on the mouse and then you will see this menu bar.
print a page |
In this menu bar, there are two option to save this page as a html page(WEB page)or a pdf page. when you click on the save as then it will be saved as a (.HTML) document,And when you click on print option this page will shown on the screen.
save as pdf |
So, if you have a printer you can easily print out the page if you dont have then you can save this page as PDF format you must know this feature if you use internet daily this can help you in every work.
now,you can easily copy the whole content from pdf and you can make your own content by taking some ideas from thode .
The "shortcut key" for this action also shown on the first picture (ctrl+p),just click and you will be rediricted to the page.
3. Taking a screenshot
The third method is to take screenshot of the page.you have already familier about this term"screenshot" because this feature also used everytimes in smartphone where the whole screen is captured as image. so if you wanna take screenshot in pc/laptop click these key combinations:-
1.PrtScn (Print Screen) key or CTRL+PrtScn
2.Windows + PrtScn
3.Alt + PrtScn
4.Windows + Shift + S (For windows 10 only)
5.Windows + Alt + PrtScn ( For windows 10 creators only)
okay,this all key combination are used to taking an screenshot in pc, This feature is works as a copy command where you copied any text or image and then paste it somewhere. so after using this command go to paint or any image editor and press (ctrl+v) or right click on mouse then paste it and save it in your computer.
More in addition, by using OCR facility means “Optical Character Recognition” technology you can extract all the visible text on an image as an editable/selectable text and copy the text.
This is best way to practice always acknowledge the source once you copy any information from a website, doing this trick in this way you will not be stealing.
4. View in source code
view source code |
yes there are a lots of features in the browser that you can use for many different needs.
first you need to right click on the page of website that you want to copy and then click on the view souce/view source code and this will take you to another page which is fully written in hyper text markup language(HTML).
page source code |
We already know that pages in a browser totally written in html language with including some stylesheet and scripting languages like:- CSS and JAVASCRIPT.So, the new page opened in the new tab is written fully in html language the with main content of the page.we can easily see this code for any website excepting only those who have already disabled their selecting "view source" option. you will see this option enabled in only few of website so dont worry, you will get the content easily now.
when the code is displayed you can now filter the contents of the code and copy them from the body (<body>) part of HTML code.
The "shortcut key" for this action also shown on the first picture (ctrl+u),just click and you will be rediricted to the page.
5. Disable from CSS user-select property
actually this is quite tough to use for beginners.In this method you have to Disable from CSS user-select property.
CSS(Cascading Style Sheets) defines how should the website looks likes, the colors, fonts,lines,headings,buttons,menu-bars,etc..By using the property userselect we can also be used to disable text selection on a website.
you need to go to inspect element window by right clicking on the page. this property only located on inspect element on the CSS. when you find it ‘untick’ to disable it.
"In my opinion use the first trick i have mentioned above most effective method of this task."
Possibly last two methods will be so much confusing and overwhelming for beginners and for those who dont have any knowledge about basic HTML Coding.
Thankyou
0 Comments