But I need to sometimes allow js from google.com for other other google apps. How do I?
Not working:
Code: Select all
Site *.google.com
Accept from *.google.com
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Sandbox INC
Site www.google.com
Deny ALL
Code: Select all
Site *.google.com
Accept from *.google.com
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Sandbox INC
Site www.google.com
Deny ALL
Code: Select all
Site .google.com .googleapis.com .gstatic.com
Accept from ^https?://(?!www\.google\.com[/:])(?:[^/:]+\.)?google\.com[/:] .googleapis.com .gstatic.com
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Sandbox
This works but unfortunately prevents me from using this site, which requires google code for the captcha (why?).barbaz wrote:I'm not sure of exactly what you want to do?
Assuming you want to allow google active content only on all google domains other than www.google.com:
allow google.com, gstatic.com, & googleapis.com, then use this ABE ruleCode: Select all
Site .google.com .googleapis.com .gstatic.com Accept from ^https?://(?!www\.google\.com[/:])(?:[^/:]+\.)?google\.com[/:] .googleapis.com .gstatic.com Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA) Sandbox
Code: Select all
[].forEach.call(document.querySelectorAll("input[type=hidden]"),(e,d)=>{e.disabled=1})
The GA code was downloaded and run, so I got the extra plugin.barbaz wrote: (Side note: you don't need No Google Analytics, because NoScript blocks Google Analytics completely if it isn't (Temp)Allowed.)
AddGuest wrote:this site, which requires google code for the captcha (why?).
Code: Select all
.informaction.com
Don't know if this will work but tryGuest wrote:How can I also disable Google cookies while using Google search?
I disabled the Google search tracking hiddens via user script:Code: Select all
[].forEach.call(document.querySelectorAll("input[type=hidden]"),(e,d)=>{e.disabled=1})
Code: Select all
Site www.google.com
Anonymize from about: chrome: file: SELF++
On a site that has google analytics, go NoScript menu -> Forbid google-analytics.com, then NoScript menu > Untrusted > Mark google-analytics.com as UntrustedGuest wrote:The GA code was downloaded and run, so I got the extra plugin.barbaz wrote: (Side note: you don't need No Google Analytics, because NoScript blocks Google Analytics completely if it isn't (Temp)Allowed.)
Code: Select all
www.google.com
[x] block
Code: Select all
Site .google.com .googleapis.com .gstatic.com
Accept from .google.com/maps?* ^https?://(?!www\.google\.com[/:])(?:[^/:]+\.)?google\.com[/:] .googleapis.com .gstatic.com
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Sandbox
Code: Select all
https://www.google.com/search?q=P%26G&btnG=
Code: Select all
"https://www.google.com/search?q=P%26G&btnG=".match(/(\?q=[^&]+)&/)[1]
"?q=P%26G"
You could just block that, then?Guest wrote:I want to block js from Google websearch.
Code: Select all
Site ^https?://www\.google\.com/search.*
Deny
Code: Select all
Site ^https?://www\.google\.com/search?q=[^&]+&btnG
Deny INC(SCRIPT, OBJ, FONT, XHR, MEDIA)
Code: Select all
Site ^https?://www\.google\.com/search
Sandbox