ФП
Size: a a a
Д
Д
Оа
DT
О
И
И
И
АС
var oldBotFound = [];
var oldBotLink = ['https://tttttt.me/MentorProductStarAllMiniBot','https://tttttt.me/MentorProductStarSQLMiniBot'];
for (i = 0; i < oldBotLink.length; i++) {
oldBotFound[i] = document.querySelectorAll('a[href*="'+oldBotLink[i]+'"]');
}
var botNew = 'https://tttttt.me/MentorProductStarBot';
var intersection = oldBotLink.filter(x => oldBotFound.includes(x));
if (intersection) {
for (i = 0; i < oldBotFound.length; i++) {
function editHref() {
oldBotFound[i].setAttribute("href", botNew);
return false;
}
}
}
ab
var oldBotFound = [];
var oldBotLink = ['https://tttttt.me/MentorProductStarAllMiniBot','https://tttttt.me/MentorProductStarSQLMiniBot'];
for (i = 0; i < oldBotLink.length; i++) {
oldBotFound[i] = document.querySelectorAll('a[href*="'+oldBotLink[i]+'"]');
}
var botNew = 'https://tttttt.me/MentorProductStarBot';
var intersection = oldBotLink.filter(x => oldBotFound.includes(x));
if (intersection) {
for (i = 0; i < oldBotFound.length; i++) {
function editHref() {
oldBotFound[i].setAttribute("href", botNew);
return false;
}
}
}
АС
ab
АС
АС
BB
АС
TK
TC
document.getElementById('smb-id').onclick = function(){ ... }
TypeError: Cannot set property 'onclick' of null
TC