urlfilter data examples

Interact with the examples below, observe the change in URL. View relevant source code.

{% apply view_source %}
Name is John
{% end %} {% apply view_source %}
Change ?city= to NY
{% end %} {% apply view_source %}
Add ?city= to NY
{% end %} {% apply view_source %}
Remove NY from ?city=
{% end %} {% apply view_source %}
Toggle NY in ?city=
{% end %} {% apply view_source %}
Change ?city= to NY using pushState
{% end %} {% apply view_source %}
Change location.hash, i.e. #?city= to NY
{% end %}