This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Is there an easy way to hide informational banners (like SOTM) on main site?

0

Is there an easy way to hide informational banners (like SOTM announcements which are nagging me) on the main site? The main sites's source code shows several ids like banner and _osm_banner_sotmasia2017 - can they be used to hide the banners?

A Mediawiki extension for example provides the use of a cookie named dismissSiteNotice to achieve the hiding of notices.

asked 18 Sep '17, 05:49

katpatuka's gravatar image

katpatuka
1.0k152636
accept rate: 12%

1

Are you actually seeing banners more than once (or once per browser instance)?

(18 Sep '17, 11:53) SomeoneElse ♦

yes - for example after a forced page refresh with CTRL+F5

(18 Sep '17, 12:14) katpatuka

For info, I'm not seeing recurring banners after ctrl-f5 in 3 browsers here (SeaMonkey, Firefox, Chrome).

(18 Sep '17, 12:17) SomeoneElse ♦
1

Richard's answer works for my old opera 12.17 ;)

(18 Sep '17, 12:22) katpatuka

One Answer:

1

You could use a browser extension such as Stylish to insert this CSS rule on all pages at openstreetmap.org:

#banner { display: none !important; }

answered 18 Sep '17, 11:48

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

thanks Richard - that did the job on my good old opera 12.17 :)

(18 Sep '17, 12:20) katpatuka

Source code available on GitHub .