javascript - Chrome Extension for looking string -
need bit make chrome extension looks string x
source , creates popup if x
has been found.
string containing source of document:
document.documentelement.outerhtml
check if contains x
:
document.documentelement.outerhtml.indexof(x) !== -1;
happy coding!
Comments
Post a Comment