589
правок
User (обсуждение | вклад) Нет описания правки |
User (обсуждение | вклад) Нет описания правки |
||
| Строка 18: | Строка 18: | ||
links.forEach(function(link) { | links.forEach(function(link) { | ||
// Get the link title | // Get the link title | ||
var linkTitle = link.textContent.trim() + '— ЮУГМУ Вики'; | var linkTitle = link.textContent.trim() + ' — ЮУГМУ Вики'; | ||
console.log(currentPageTitle + '=' + linkTitle); | console.log(currentPageTitle + '=' + linkTitle); | ||
// Check if the link title is equal to the current page title | // Check if the link title is equal to the current page title | ||