...........setInterval requestAnimationFrame
Chrome
9- not affected not supported
10 not affected paused
11+ >=1000ms paused
Firefox
3- not affected not supported
4 not affected 1s
5+ >=1000ms 2ns (n = number of frames since inactivity)
IE
9- not affected not supported
10+ not affected paused
Edge
13- not affected paused
14+ >=1000ms paused
Safari
5- not affected not supported
6 not affected paused
7+ >=1000ms paused
Opera
12- not affected not supported
15+ >=1000ms paused
Если status = ok возвращаем один ответ, если status = error возвращаем другой ответ
if ( ... ) ... else .... ;
Доступ к специальному разделу должен осуществляться с главной (основной) страницы Сайта, а также из основного навигационного меню Сайта.
var one = ["a", "b", "c"], two = ["d", "e", "f"];
function paster(c, iter){
var summa="";
for(var i = 0; i<iter; i++){
summa = summa + c;
}
return summa;
}
one[0] = one[0]+paster(two[0], 10);
alert(one[0]);
const alphabet256 = '0123456789abcdefghijk......ЭЮЯ'; //Нужно 256 символов!
const old_toString = Number.prototype.toString;
Number.prototype.toString = function(radix) {
if (radix == 256) {
let num = +this;
if (num === 0) return '0';
let result = '';
while (num > 0) {
result = (alphabet256[num&255] || '?') + result;
num = num >> 8;
}
return result;
}
return old_toString.apply(this, arguments);
}
(15).toString(256); // f
(16).toString(256); // g
(256).toString(256); // 10
(257).toString(256); // 11
<iframe src="https://example.com/?callback=mysite.com/fromform.php"></iframe>
https://mysite.com/fromform.php?answer=123
nslookup www.instagram.com
let foo_done = false;
function foo() {
if (foo_done) return;
foo_done = true;
//ваш код функции...
}