A FAQ do NoScript responde a essa pergunta, usando o ABE (Application Boundaries Enforcer):
Site .akamai.net
Accept INCLUSION from SELF++
Accept INCLUSION from .trusted-site1.com .trusted-site2.com trusted-site3.com
Deny
Então:
Site .akamai.net
Accept INCLUSION from SELF++
Accept INCLUSION from *.github.com github.com
Deny
... deve funcionar?
Mais informações sobre a ABE , incluindo um PDF sobre como escrever as regras.
Veja também os fóruns da Informaction.com :
Notice that since ABE's rule work independently from NoScript's permissions, you need to "Allow google-analytics.com" in NoScript's menu for the above to work. Notice also that, independently from ABE, even if a certain script source is whitelisted in NoScript it won't run as a 3rd party script on pages whose origin is not whitelisted itself.