Connect with Victor Mochere

Tech

How to disable text selection on your website (script)

Victor Mochere

Published

on

How to disable text selection on your website (script)

Disabling text selection on your website is a simple way to prevent your site visitors (internet users and competitors) from copying your web content. Once text selection is disabled, your website visitors will no longer be able to select characters on your website with their mouse. To do so, just follow the two simple steps below.

 

1. First copy and paste the script below before the </head> tag of your webpage or at the bottom of your header.php template file on WordPress.

<script type=”text/javascript”>

/***********************************************
* Disable Text Selection
***********************************************/


function disableSelection(target) {
if (typeof target.onselectstart!=”undefined”)
 target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!=”undefined”)
 target.style.MozUserSelect=”none”
else
 target.onmousedown=function(){return false}
target.style.cursor = “default”
}


</script>

2. Next, copy and paste the script below before </body> the tag on the webpage you wish to disable text selection on. If you are using WordPress you can add this snippet to your header.php file in order to disable text selection on all webpages of your website. You can even add the script below to individual pages, posts, and template files like category.php to simply remove text selection from single webpages.

<script type=”text/javascript”>

disableSelection(document.body)

</script>

Spread the love

I’m a literati savant, altruistic, queer laughist, critique from the non-core academia and above all it’s my conviction that in all my papers the rule of three applies.

Continue Reading
Advertisement
Comments

Tech

Countries with the slowest internet speeds in the world

Victor Mochere

Published

on

Countries with the slowest internet speeds in the world

There is nothing as boring as slow internet speed, more so when you have an urgent issue or application to make online. In the age of today when most services be it business-wise or government are offered online, internet speed is a matter of utmost concern.

 

Below is the list of the bottom 50 countries with the slowest internet speeds in the world.

Rank

Country/Territory

Average connection speed (Mb/s)

1

Yemen

0.31

2

East Timor

0.49

3

Turkmenistan

0.56

4

Somalia

0.60

5

Guinea

0.65

6

Mauritania

0.70

7

Syria

0.81

8

Niger

0.83

9

Burkina Faso

0.84

10

Republic of the Congo

0.85

11

Congo

0.86

12

Djibouti

0.92

13

Tajikistan

0.94

14

Mali

0.95

15

Vanuatu

0.95

16

Mayotte

0.97

17

Uzbekistan

1.02

18

Ethiopia

1.13

19

São Tomé and Príncipe

1.13

20

Gabon

1.13

21

Afghanistan

1.15

22

Malawi

1.17

23

Iraq

1.21

24

Benin

1.23

25

Venezuela

1.24

26

Algeria

1.25

27

Swaziland

1.26

28

Togo

1.27

29

Cameroon

1.29

30

Pakistan

1.32

31

Egypt

1.33

32

Senegal

1.40

33

French Polynesia

1.42

34

Libya

1.42

35

Gambia

1.45

36

Angola

1.49

37

Botswana

1.50

38

Kyrgyzstan

1.52

39

Sudan

1.56

40

Mongolia

1.57

41

Lebanon

1.60

42

Sierra Leone

1.61

43

Liberia

1.61

44

Ivory Coast

1.70

45

Seychelles

1.72

46

Paraguay

1.73

47

Palestine

1.75

48

Mozambique

1.76

49

Nigeria

1.86

50

Bolivia

1.90

Spread the love
Continue Reading

Tech

Countries with the fastest internet speeds in the world

Victor Mochere

Published

on

Countries with the fastest internet speeds in the world

As most people flock the internet, and with most businesses and transactions done online, internet speeds matter. Most countries and entities have invested quite a lot of resources to have fast and efficient internet speeds.

 

Below is the list of the top 50 countries with the fastest internet speeds in the world.

Rank

Country/Territory

Average connection speed (Mb/s)

1

Singapore

60.39

2

Sweden

46

3

Denmark

43.99

4

Norway

40.12

5

Romania

38.6

6

Belgium

36.71

7

Netherlands

35.95

8

Luxembourg

35.14

9

Hungary

34.01

10

Jersey

30.9

11

Switzerland

29.92

12

Japan

28.94

13

Latvia

28.63

14

Taiwan

28.09

15

Estonia

27.91

16

Spain

27.19

17

Lithuania

27.17

18

Andorra

27.14

19

Hong Kong

26.45

20

United States

25.86

21

Slovakia

25.3

22

Madagascar

24.87

23

France

24.23

24

Finland

24

25

Germany

24

26

New Zealand

23.77

27

Czech Republic

23.71

28

Slovenia

21.41

29

Portugal

21.28

30

South Korea

20.63

Spread the love
Continue Reading

Tech

The new Gmail is here

Victor Mochere

Published

on

The new Gmail is here

Google has announced plans to phase out the current Gmail platform and move users to a new design to be rolled out by next month. The new design will first apply to the G-suite users, those who pay to host their custom emails.

 

At the moment users can only opt-in if the G-Suite administrator has enabled the design. The opt-in option will run for eight weeks, with the migration taking effect sometime in September with an extension of four weeks.

 

The free users are expected to experience the same changes, for instance I got the opt-in option this morning.

 

In a new blog posted on the G-Suite website, G-suite admins will have the following options:

  • Immediately transition their users to the new Gmail
  • Allow their users to opt in to the new Gmail at the time of their choice
  • Wait approximately four weeks until their users are allowed to opt in to the new Gmail

 

The new Gmail comes handy with some impressive features like; Smart Compose that completes sentences for you, confidential emails that self-destruct in a given set timeframe, offline support, a sidebar for Google apps like Calendar and third-party services Asana, mail snoozing, nudging, attachment previews and many more.

Spread the love
Continue Reading

Trending

Cheap Website Traffic