What i did for this, since we use google chrome, is just install the correct google enterprise version, import chrome GP Admin Templates, and adjust the "content settings" "Block JavaScript on these sites" in the group policy to include the sites. (for me, its was "google" because a user kept playing Solitaire from the search results)