Re:Joining Google to better explain search
by pasbesoin on Friday October 06, 2017 @11:24PM
(#15422120)
javascript:void((function(){var%20loc%20=%20location.href;%20loc.indexOf("?")%20==%20-1%20?%20(location.href%20=%20loc+"?li=1")%20:%20(location.href%20=%20loc+"&li=1");})());
or, taking a bit more care: javascript:void((function(){var%20loc%20=%20location.href;%20if%20(loc.indexOf('li=1')%20>=%200)%20return;%20loc.indexOf("?")%20<%200%20?%20(location.href%20=%20loc+"?li=1")%20:%20(location.href%20=%20loc+"&li=1");})());
or I guess it could be modified further to change the parm if it's already present with a different value.Modified from (because I'm lazy):
https://stackoverflow.com/questions/20677974/bookmarklet-to-...
At least that would amend itself to e.g. being incorporated into a bookmarklet for one-click access.