Answer the question
In order to leave comments, you need to log in
How to get the number of site pages in Yandex from popup.html?
At the moment, the difficulty in general is that I can’t access the finished DOM of the page, for example https://yandex.ru/search/?lr=213&text=test
If I do this in popup.js
$.get("https://yandex.ru/search/?lr=213&text=тест", function(html){
var a = $(html).text();
alert(a)
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question