The visibility of the content of the address?

Good day to all.
Don'T know how to ask the right question to find the answer yourself, tell her the stalemate:
there on an external website banner, his address with a certain option on the opening page with this parameter should disappear some of the content.
ie banner site.ru/main.html go to this page site.ru/main.html?=param (or something like that) then to such address disappears 2 units.
tell me the link to the source or an example of how this can be accomplished.
website on cms modx revo, uncertain on account of running php on ODA. page
July 8th 19 at 16:42
1 answer
July 8th 19 at 16:44
Don'T know how to ask the right question to find the answer yourself
  1. How to get parameters from URL in javascript?
  2. How to hide the block via javascript?

Both searched for 5 seconds.

Find more questions by tags JavaScript