DOMCityGitHub

The whole web is
buildable.

The bookmarklet captures the page you are looking at, as it is displayed for you, and sends it to DOMCity to build it. It fits in a simple bookmark: nothing to install, no permission to give.

DOMCity

Drag this button into your bookmarks bar

Bar hidden? Ctrl Shift B, or ⌘ Shift B on Mac. A simple click tries the bookmarklet on this very page.

Create a city · DOMCitydomcity.app/createWeatherRecipesDOMCITYExploreCreate a cityYour accountGitHubTHE WHOLE WEB ISBUILDABLE.DOMCITY↖ Drag this button into your bookmarks barHOW TOTHREE GESTURES010203

How to

Three gestures

  1. 01

    Drag

    Drag the DOMCity button into your browser's bookmarks bar. It stays there, ready to use.

  2. 02

    Click

    On any website, click the DOMCity bookmark. It captures the page as it is displayed for you.

  3. 03

    Visit

    The city opens in a new tab. Walk around, inspect, and publish it if you like.

Transparency

What the bookmarklet captures

The bookmarklet only reads the page, in your browser. Nothing from the page leaves your computer until you click “Publish”: DOMCity first shows you everything that will be sent. Opening “Share” only sends the name of the site, to tell you whether the page already has a recent city.

Captured

  • The structure of the page: the tags and how they nest
  • How much text each element holds
  • The text of the h1 to h3 headings, to engrave them on the monuments
  • The addresses of the images
  • The position and background color of the displayed elements
  • The number of scripts and the third-party sites the page contacts
  • The number of comments left in the HTML (never their text) and the broken images

Never captured

  • The text of paragraphs, lists or tables
  • What you type in forms
  • Your cookies, passwords and sessions
  • The address parameters (after ? or #)
  • The hidden elements of the page
  • Refused sites: DOMCity keeps nothing from them and makes no city of them
    • Adult sites
    • Violence and shocking images
    • Banks and financial services
    • Personal data: messaging, accounts, taxes, health
    • Gambling
    • Dangerous sites: tracking, spyware, pirated downloads
    • Any page that declares itself adults only

Manual install

On a phone

Or if your browser refuses dragging. The bookmarklet is a small program: its address is its code.

  1. Add any page to your bookmarks.
  2. Edit that bookmark: name it DOMCity and replace its address with the copied code.
  3. On the page to capture, open your bookmarks and tap DOMCity. On Chrome for Android, type “DOMCity” in the address bar instead and pick the bookmark.

Good to know

The limits

Private pages
Behind a login, the bookmarklet sees what you see. It sends nothing on its own, but do not publish a mailbox or a customer account.
Sites that isolate their windows
A few sites cut the link with the tabs they open. The city then opens in the same tab: the Back button takes you back to the page.
Very large pages
The capture stops at 30,000 elements: beyond that, the city keeps the beginning of the page.
Refused sites
Adult or violent sites, banks, messaging, taxes, health, gambling, dangerous sites: DOMCity makes no city of them. Your browser checks on its own, with the list it downloads: nothing from the page is sent.
Published cities
They carry the mention “captured by a visitor”: DOMCity cannot check that a city sent by the bookmarklet is faithful to its page.