Better-osm-org: a script that adds useful little things to osm.org

0.9.9.5:

  • Fixed hotkey shift + L, which moves to your location
  • Fixed GPS tracks rendering in ViolentMonkey

Bonus:

  • Added 3D render Mapbox Standard Demo
  • Objects that only have their check_date= changed are moved down on the changeset page. Yes, a feature to make it easier to view edits from Every Door :​)

Before

After

5 Likes

0.9.9.6:

  • Adapted the script for the new heatmap in user profiles

Bonus:

  • now you can filter changeset by comment and see changesets with comments

1 Like

Once again I update the script to fix /history https://raw.githubusercontent.com/deevroman/better-osm-org/master/better-osm-org.user.js


About bbox colors. I can now say that now after:

  • bug fixes in the bbox layer
  • hide hover for large bbox
  • and the new bbox hover style

it became much more convenient to use :+1:. Thanks @Anton_Khorev


Please note that a Scroll to Changeset button has been added to the context menu, this is also an osm.org update


By the way, have you already checked out the opportunity to specify your social networks, company, and location name? These new osm.org features are here → osm.org/profile

2 Likes

A couple of things have apparently changed since yesterday?

When looking at a Users changeset history, clicking on the Clipboard icon beside their name to “Add checkboxes for mass actions” no longer allows you to pick individual CS to work on e.g. revert?

Also, the latest Changeset Comment is no longer visible, or CC readable?

Sorry, should have done that as a reply, not just a post.

Try updating the script. This is exactly what I fixed in the last update (: v0.9.9.10


Just in case, I’ll explain. Tampermonkey/Violentmonkey can update the script themselves in the background if the changes are small, or they will show you a tab with a diff of changes in the code. They do this once a day, but in practice it happens less often. I saw a mapper who didn’t update the script for a month.

So if something is broken in the script or if you don’t see the announced features, then try updating it. So just like when installing, just by opening the link to the script code

Tried a few times to update on the TM dashboard. If you hit the update field which currently says 5d, a wheel spins but the version stays at 0.9.9.9 (is the TM dashboard column not wide enough to show the .1 ?)

Curiously, I also observe this. This may explain why auto-update doesn’t work for users. This is clearly a TM issue.

upd: [BUG] Unchecking 'Don't ask me for simple script updates' breaks script update · Issue #2458 · Tampermonkey/tampermonkey · GitHub

What is the state of the “Don’t ask me for simple script updates” checkbox in your TM settings?

On the TM settings front, just ticked the update disabled scripts, every day, and changed the update interval also to every day. As you can see my TM settings were on Novice.

Changing TM setting to Beginner gave a whole lot more options, still not seeing the “Don’t ask me for simple…”, but then Advanced revealed it i.e. till now it is on default, which is box ticked.

Errata: Unticked the subject box where previously the 5d value in the Last Updated column of the dashboard remained green, it now turned red and this appeared above on forced updating

image

TamperMonkey seems to think that 0.9.9.9.1 is a downgrade compared to 0.9.9.9

I had to manually got to greasyfork and force it to update, and the tampermonkey window came up

Hah, it turns out TM doesn’t follow its own documentation Documentation | Tampermonkey

My mistake. From top to bottom, versions increase

I’ll change the version now → 0.9.9.10

2 Likes

Thanks! All good again now :+1:

The second feature I didn’t know about (:

I saw it on the recording Map-py Wednesday, that the changeset filter by username filters by substring in the username. I.e. by writing “DWG” you hide changesets of users that contain DWG. This is a bug and quite bad behavior, because it can hide unnecessary chnagesets. I thought I did this only for filter by comment :slight_smile:

Thanks to @VMPanes for the talk and demonstration.


Also thanks to @Matija_Nalis for presenting the script on State of the Map Croatia 2025 Good reference material that clearly shows the features of the script:

1 Like

I also notice that on WIndows, some users have broken the layout in some places. I use macOS, which has slightly different native html elements. Feel free to report on GitHub or here if you see un-centered or misaligned page elements.

I just noticed something in the presentation:

I don’t have the clock icon :mantelpiece_clock: to show the data as it was at the moment of the changeset creation:

I wonder why? Should I open a GH issue?

It only appears after clicking on a date. I decided not to show it by default to avoid cluttering the interface.

1 Like

Let’s take a break from the heated discussions on the forum. For this, I’ll even release 1.0.0 ahead of time (:

:no_entry: Render type=restriction

I don’t know about you, but I’ve always had a hard time figuring out how does turn restriction work.

The script also shows if the relation is broken. Did you know that 2% of all such relations are broken? Here is an Overpass request that will find relations where one of the required roles is missing.

If the relation is too large, then press shift + Z to get closer to the point with the via role.

:globe_with_meridians: In defense of the free web

TLDR; :+1: this Proposal: Consider allowing CSS injection irrespective of CSP · Issue #839 · w3c/webextensions · GitHub

About CSP on websites like osm.org or GitHub

CSP on websites like osm.org or GitHub makes it very difficult to develop browser extensions.

For example, on GitHub you can’t add new fonts to a page. For osm.org, it took me a long time to add support for satellite images and even more to add custom backgrounds. I miraculously managed to bypass CSP in Safari so that the script started working minimally. The developer of FireMonkey made a proposal to give extensions an adequate API for adding styles and images on such sites.

:ghost: Information about deleted profiles

It has become popular for vandals to delete their profiles. But now you can see more information about the deleted user:

And on the user page you can now copy his ID in one click. The username is now also copied in one click

:mag: Notes filtering

The right panel now has a search by note text and author. Hashtags in notes are now clickable.

And clicking by hashtag with ctrl pressed will open osm-note-viewer

:straight_ruler: Ruler

The context menu now includes a simple ruler for measuring distances. And I have an argument for why cartographers need it!

I once noticed that in OSM, buildings in my area are located too close to each other. But I didn’t have a quick way to find out the distance between them in OSM at hand. Who dares to resurrect an issue in openstreetmap-website? (:

:round_pushpin: Moving POI

Did you notice another item in the context menu? Yes, you can now move node POIs.

Other

  • Taginfo key values page for each value now has a button to quickly open Overpass Tubro.

  • In GPX tracks for points, their name and description are now shown. Let me remind you that you can simply drag and drop the .gpx file onto the map.

  • shift + Z also works for changeset. The first press ignores the modified bbox relations. A second press now ignores ways as well. It is convenient if someone accidentally changes a railway route or a long road.

So I decided to use StarVer, my plan for version 1.0.0 failed :)) I’ll put them off until 2.0.0 :wink:


update URL

15 Likes

I’d already spotted the list of CS for deleted users! :+1:

Thank you! :heart:

Would it be possible to then be able to bulk-copy those CS numbers, maybe with the “clipboard” function you have on normal CS history? :thinking: