#621: better wallpaper for communities.apple.com
This commit is contained in:
parent
93249a1ede
commit
7b55a0cc47
|
@ -699,17 +699,23 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal,
|
||||||
ToLowerCase(hostname);
|
ToLowerCase(hostname);
|
||||||
#define BLOC(q) hostname.EqualsLiteral(q)
|
#define BLOC(q) hostname.EqualsLiteral(q)
|
||||||
#define BLOCU(q) url.EqualsLiteral(q)
|
#define BLOCU(q) url.EqualsLiteral(q)
|
||||||
|
#define BLOCE(q) (StringEndsWith(url, NS_LITERAL_CSTRING(q)))
|
||||||
|
|
||||||
if (0 ||
|
if (0 ||
|
||||||
|
|
||||||
#ifdef __ppc__
|
#ifdef __ppc__
|
||||||
// wallpapers for issue 621
|
// wallpapers for issue 621
|
||||||
BLOC("static-exp1.licdn.com") ||
|
BLOC("static-exp1.licdn.com") ||
|
||||||
BLOCU("https://communities.apple.com/en202012231040/public/scripts/tldr/index.js") ||
|
(
|
||||||
|
BLOC("communities.apple.com") &&
|
||||||
|
BLOCE("/public/scripts/tldr/index.js")
|
||||||
|
) ||
|
||||||
#endif // __ppc__
|
#endif // __ppc__
|
||||||
|
|
||||||
0) {
|
0) {
|
||||||
#undef BLOC
|
#undef BLOC
|
||||||
#undef BLOCU
|
#undef BLOCU
|
||||||
|
#undef BLOCE
|
||||||
|
|
||||||
#ifndef DEBUG
|
#ifndef DEBUG
|
||||||
if (mIsTenFourFoxTroublesomeJsLoggingEnabled)
|
if (mIsTenFourFoxTroublesomeJsLoggingEnabled)
|
||||||
|
|
Loading…
Reference in New Issue