March 2017 - Coding Bot

Like Us On Facebook

Follow Us On Twitter

Drop Down Menu

Sunday, 26 March 2017

How To Disable Copy Paste And Mouse Right Click Using JavaScript, CSS, jQuery, Swift

Unique content is a must for any budding website. Search engines rank your website not just on the basis of backlinks or social media shares, but most importantly how unique your content is and how helpful it is for the audience, which in turn is determined by the visits to a particular post.

However, not all of us think this way, there are and always will be a subset that just knows how to copy paste content. And the worst case will be when their posts show up higher in the search engine rankings than the original post. I can truly understand how frustrating this can be, especially if bloggers such as me and you devote a lot of time building such websites from the scratch and a small section simply copy pastes that content onto their own website.

So that's why today I decided to share 4 methods that can be used by you to block such Ctrl A + Ctrl V attempts on your website.

One method is by using JavaScript which disables copy-paste for your whole website and the other one uses CSS, which can also be used to enable copy-paste for some part of your posts.

Another one is by disabling mouse right click and disabling copy paste using jQuery.

Wednesday, 15 March 2017

How To Submit Website To Google,Bing,Baidu,Yandex,DuckDuckGo

Hello avid bloggers!
Today I'll share with you all how you can share your websites, blogs, RSS Feeds with all the major search engines. 

So there you are, working so hard on setting up your website or blog, you've worked on SEO, keyword density, good content, but much to your amazement, the Big Bosses aren't still indexing your website. 

Don't feel defeated yet, I have a way by which you can ping your website to these search engines.
BOOKMARK THIS PAGE RIGHT NOW, if you want to save your time. 

If your website or blog has a sitemap, then you can ping its URL to these search engines. This is one of the basic ways to let these engines know that your website has some updated content. 

Now even if you ping these, there's no guarantee till when their crawler will scan your website and index it, but it's still letting them know that you're ready with some awesome changes to your website or blog.

Search engines such as Google, Baidu (popular in China), Bing or Yandex (popular in Russia) might not automatically crawl your website, so this is one of the best ways to 'ping' them about your website's sitemap.

You just need to replace my sitemap with your website's or blog's sitemap and that's it. It will be pinged to these search engines automatically.

Saturday, 11 March 2017

Customize Scrollbar In Blogger

Hi there! I welcome you to yet another Blogger tutorial by Coding Bot. In our last tutorial, we discussed how can you customize the text highlighting color from the default blue to something different of your choice. This website has a different color as you can also check yourself by selecting anything on this page ;)

So today I will share how can you customize the scrollbar of your website. Most of the websites come with a default scrollbar, that is kind of gloomy and boring. Kind of like this one:

Customize Scrollbar In Blogger

So why not change this gloomy scrollbar to something more creative and good looking for your website. 

Friday, 10 March 2017

Difference Between Hashmap and Hashtable Java

There are several notable differences between Hashmap and Hashtable in Java, such as:

1. Hashmap has one sub-type -> LinkedHashMap. It is used if you want insertion order by default, in which case you can easily swap a Hashmap for a LinkedHashMap, which wouldn't be possible in case of a Hashtable.
2. Hashmap allows a single NULL key and any number of NULL values, whereas Hashtable does not allow NULL KEYS OR VALUES.