Truly independent web browser
<!DOCTYPE html>
<style>
p {
font-size: 20px;
line-height: 1.5;
}
</style>
<p>Find the needle in this haystack</p>
<script>
const text = document.querySelector("p").firstChild;
const range = document.createRange();
range.setStart(text, 9);
range.setEnd(text, 15);
getSelection().addRange(range);
</script>