The Jetpack visibility module is appended to the bottom of all widgets (including 3rd parties). This plugin adds a “Query Args” option so that you can add a key value pair. For example, show a promotional text widget when someone enters a specific search.