NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

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

#banner { display: none !important; }
permanent link

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×10
×2

question asked: 18 Sep '17, 05:49

question was seen: 1,953 times

last updated: 18 Sep '17, 12:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum