docs: Update PageVisibility Events section
docs: Update PageVisibility Events section

Remove snippet from documentation and just link to it from
js/detection/ directory snippets.

cgabriel5/snippets,cgabriel5/snippets,cgabriel5/snippets