1

How to turn off scripts in Google Search, in particular the page preview?

2
  • 1
    and your browser is!?
    – MJH
    Mar 16, 2011 at 14:27
  • @MJH, Mozilla Firefox 3.6 with loads of extensions
    – Vi0
    Mar 16, 2011 at 15:27

3 Answers 3

2

If you don't mind killing off all other Javascript features, the most reliable way is to just disallow all Javascript for the search page.

No thanks to Google using one domain for so many of its services, you can't do that with NoScript's base functionality, but you can with NoScript's ABE (Application Boundaries Enforcer) subsystem.

Here's a little ABE rule I wrote to kill Google Instant which also does what you want:

Site ^https://encrypted.google.com/(s|search)(\?.*|$)
Deny INC(SCRIPT,XHR)
Sandbox

Further details on this SuperUser answer I wrote earlier:

https://superuser.com/questions/260475/how-to-make-google-search-scriptless-with-noscript-adblock/325939#325939

1

In Firefox Use Greasemonkey and this script http://userscripts.org/scripts/show/90222

1
  • Previews become screwed, but don't disappear and are still loaded when this script is enabled.
    – Vi0
    Mar 16, 2011 at 17:50
1

For Firefox, you can use this snippet I came up with in your userContent.css file:

@-moz-document regexp("^https{0,1}://([a-zA-Z0-9\\-]+\\.){0,1}google\\..*") {
    .vspii, #nycp { display: none !important; }
    td#leftnav { display: none !important; }
}
3
  • This will only hide it, not prent downloading/slowing things down, won't it?
    – Vi0
    Dec 31, 2011 at 13:56
  • Probably, depending on their exact implementation, which I don't care about at all because seeing it was what irritated me about it.
    – zak
    Jan 1, 2012 at 23:22
  • I mostly irritated by slowing down the browser even more and unnecessary traffic. Turned off scripts using NoScript's ABE and now it's OK.
    – Vi0
    Jan 3, 2012 at 7:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.