my bookmarklet
/* * @title bookmarklet * @description my bookmarklet * @include https://* * @license MIT License * @require */ var elements = document.querySelector("body"); var text = elements.textContent; //console.log(text); alert(text);