summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/NewTabUtils.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules/NewTabUtils.jsm')
-rw-r--r--toolkit/modules/NewTabUtils.jsm5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/modules/NewTabUtils.jsm b/toolkit/modules/NewTabUtils.jsm
index df8dae89d..e452a6fb2 100644
--- a/toolkit/modules/NewTabUtils.jsm
+++ b/toolkit/modules/NewTabUtils.jsm
@@ -249,10 +249,15 @@ var AllPages = {
* Returns whether the history tiles are enhanced.
*/
get enhanced() {
+#ifdef MC_BASILISK
+ // Hard-block the use of sponsored tiles.
+ return false;
+#else
if (this._enhanced === null)
this._enhanced = Services.prefs.getBoolPref(PREF_NEWTAB_ENHANCED);
return this._enhanced;
+#endif
},
/**