📜 ⬆️ ⬇️

Add Google Chrome Multitask support to your site.

All of you, of course, already know that Google Chrome has made a breakthrough in the field of multitasking and has developed the technology Multitask .

The main disadvantage of technology is that technology support must be added manually to each site. Now it has become quite simple:
<script src="https://raw.github.com/Yavanosta/Multitask/master/multitask.min.js"></script>

Look:


In case your users do not want to immediately begin to fully use high technology, you can use:
window.disableMultitask()
window.enableMultitask()

For fine tuning there are specially trained constants:
//CONSTANTS
var cursorFirstCreationDelaySeconds = 10;
var cursorCreationDelaySeconds = 3;
var cursorMaxCont = 30;

I draw your attention that this script is not something that hangs on the Google site. I just liked the Google joke and I made a small script that allows you to fasten the "multi-cursor" to any site.

')

Source: https://habr.com/ru/post/141185/


All Articles