//Работа с текстом
var canvas = document.getElementById("textImgKonstr");
var ctx = canvas.getContext("2d");
select tag, count(*) as cnt from article_has_tag
group by tag
order by cnt desc
limit 30
if (location.href.indexOf('resetpass') !== -1) {
// show block
}
const defaultHash = '#earth'
const id = location.hash || defaultHash
document.querySelector(id).style.display = 'block'