Bookmarklet Builder

    Wrap a JavaScript snippet into a javascript: bookmarklet URL.

    Bookmarklet URL
    javascript:(function()%7Bdocument.querySelectorAll('a').forEach(a%20%3D%3E%20%7B%20a.style.background%20%3D%20'yellow'%3B%20a.style.color%20%3D%20'black'%3B%20%7D)%3B%7D)()%3B
    Drag this button to your bookmark bar
    ★ Highlight
    HTML
    <a href="javascript:(function()%7Bdocument.querySelectorAll('a').forEach(a%20%3D%3E%20%7B%20a.style.background%20%3D%20'yellow'%3B%20a.style.color%20%3D%20'black'%3B%20%7D)%3B%7D)()%3B">Highlight</a>