Schalk Burger

A simple bookmarklet to tweet the current page

Tuesday, 1 February 2022

Christian Heilmann posted a great little tweet the current page bookmarklet on DEV Community back in 2019 that allows you to easily Tweet the current page you are viewing.

Unfortunately the original bookmarklet code stopped working since Twitter updated the compose Tweet path from to

I’ve updated Christian’s original code with the new compose Tweet path, making the bookmarklet functional again. You can find the updated bookmarklet code on this GitHub Gist and below: