To solve your case on NoScript, whitelist the full address https://github.com/ and that will keep http subdomains out.
To solve your case on NoScript, whitelist the full address https://github.com/ and that will keep http subdomains out.