isblankpage

judge if the page is blank

Usage no npm install needed!

<script type="module">
  import isblankpage from 'https://cdn.skypack.dev/isblankpage';
</script>

README

isBlankPage

judge if the page is blank

useage

import isBlankPage from 'isblankpage'

isBlankPage().then(res =>console.log(res))

isBlankPage(document.body, true).then(res =>console.log(res))