Firefox newtab advertising

SolydXK is too quiet for you? SolydXK Enthusiast Editions, based on Debian Testing is for you! Here you can find news about Debian Testing and Unstable too, and also tests on SolydXK programs.
The support for SolydXK EE is provided by the community.
User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Firefox newtab advertising

Postby ilu » 31 Aug 2019 03:46

Firefox-esr newtab has pocket and advertising for youtube, facebook, amazon and ebay before you ever opened these pages. Didn't we eliminate that? I'm almost sure I tested this in one of the previous revisions.
"disable pocket" is still set to true in policies.json but shows up anyway.

I'll investigate tomorrow.

User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Firefox newtab advertising

Postby Arjen Balfoort » 31 Aug 2019 08:55

I can add the following line to /usr/lib/firefox-esr/distribution/distribution.ini:

Code: Select all

browser.newtabpage.blocked="{\"26UbzFJ7qT9/4DhodHKA1Q==\":1,\"4gPpjkxgZzXPVtuEoAL9Ig==\":1,\"eV8/WsSLxHadrTL1gAxhug==\":1,\"gLv0ja2RYVgxKdp0I5qwvA==\":1,\"K00ILysCaEq8+bEqV/3nuw==\":1,\"T9nJot5PurhJSy8n038xGA==\":1}"
This will block those links.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 04 Sep 2019 16:29

It took me some time to come back to this.

1. Remove the advertising
Topsites can inject tracking cookies into the browser without ever opening the site. Setting browser.newtabpage.activity-stream.default.sites to empty space did not work. Blocking anything doesn't help because they change the ads from time to time. Even after your changes amazon and ebay still show up.

So I tried setting a long list for the default sites:

Code: Select all

browser.newtabpage.activity-stream.default.sites="https://solydxk.com,https://forums.solydxk.com,https://solydxk.nl,https://debian.org,https://debian.net,https://eff.org,https://fsf.org"
didn't work, everything got replaced with ads. Did I insert a mistake?

I'm afraid the topsites section has to go completely. This makes everything easier. You could pin the dutch site and the forums in the highlights section instead of as topsites to get the same result.

2. The snippets section should go too. Mozilla has used it for ads in the past (they called it "adding value to Firefox users" and "say thanks"). I think only in the US.

3. Deactivate highlights "Recommended by Pocket"
We already have browser.newtabpage.activity-stream.enabled to false so why? Mozilla decided to not honor this setting anymore but to introduce a bazillion new ones. I'm now testing a very long list. And this is ONLY to disable activity-stream which is spying on the user, I don't have time to list sources for this, just search for yourself. And I just saw that FF now has activity-stream.discoverystream too????? With URLs leading to - guess what - pocket ... :twisted: :evil:

Code: Select all

browser.newtab.preload=false
browser.newtabpage.activity-stream.aboutHome.enabled=false
browser.newtabpage.activity-stream.asrouter.userprefs.cfr=false
browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons=false
browser.newtabpage.activity-stream.asrouter.providers.cfr=" "
browser.newtabpage.activity-stream.asrouter.providers.onboarding=" "
browser.newtabpage.activity-stream.asrouter.providers.snippets=" "
browser.newtabpage.activity-stream.asrouter.messageProviders=" "
browser.newtabpage.activity-stream.default.sites=" "
browser.newtabpage.activity-stream.disableSnippets=true
browser.newtabpage.activity-stream.discoverystream.enabled=false
browser.newtabpage.activity-stream.discoverystream.endpointSpocsClear=" "
browser.newtabpage.activity-stream.discoverystream.endpoints=" "
browser.newtabpage.activity-stream.discoverystream.rec.impressions=" "
browser.newtabpage.activity-stream.discoverystream.spoc.impressions=" "
browser.newtabpage.activity-stream.discoverystream.spoc.endpoints=" "
browser.newtabpage.activity-stream.enabled=false
browser.newtabpage.activity-stream.feeds.asrouterfeed=false
browser.newtabpage.activity-stream.feeds.favicon=false
browser.newtabpage.activity-stream.feeds.discoverystreamfeed=false
browser.newtabpage.activity-stream.feeds.messagecenterfeed=false
browser.newtabpage.activity-stream.feeds.places=false
browser.newtabpage.activity-stream.feeds.prefs=false
browser.newtabpage.activity-stream.feeds.sections=false
browser.newtabpage.activity-stream.feeds.section.highlights=false
browser.newtabpage.activity-stream.feeds.section.topstories.options=" "
browser.newtabpage.activity-stream.feeds.section.topstories=false
browser.newtabpage.activity-stream.feeds.section.topstories.rec.impressions=" "
browser.newtabpage.activity-stream.feeds.snippets=false
browser.newtabpage.activity-stream.feeds.systemtick=false
browser.newtabpage.activity-stream.feeds.telemetry=false
browser.newtabpage.activity-stream.feeds.theme=false
browser.newtabpage.activity-stream.feeds.topsites=false
browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines=" "
browser.newtabpage.activity-stream.fxaccounts.endpoint=" "
browser.newtabpage.activity-stream.messageCenterExperimentEnabled=false
browser.newtabpage.activity-stream.prerender=false
browser.newtabpage.activity-stream.section.highlights.includePocket=false
browser.newtabpage.activity-stream.section.highlights.includeBookmarks=false
browser.newtabpage.activity-stream.section.highlights.includeDownloads=false
browser.newtabpage.activity-stream.section.highlights.includeVisited=false
browser.newtabpage.activity-stream.showSponsored=false
browser.newtabpage.activity-stream.showTopSites=false
browser.newtabpage.activity-stream.telemetry=false
browser.newtabpage.activity-stream.telemetry.ping.endpoint=" "
browser.newtabpage.activity-stream.telemetry.ut.events=false
browser.newtabpage.activity-stream.tippyTop.service.endpoint=" "
privacy.trackingprotection.introURL=""
browser.onboarding.notification.tour-ids-queue=""
If browser.newtabpage.enabled=false newtab is empty. That's good but probably to radical. browser.newtabpage.activity-stream.feeds.newtabinit also needs to be true.
In a new profile Pocket went away but not the ads.

Not honored in FF69 with distribution.ini are:

Code: Select all

browser.newtabpage.activity-stream.default.sites=" "
browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines=" "
The last one gets reset to "google,amazon" :roll: We already know they don't want us to tamper with search engines.

A lot of those settings are not honored in ESR with distribution.ini - probably because still unsupported - so lets ignore ESR for now.

Present content of policies.json

Code: Select all

{
  "policies": {
    "DisableAppUpdate": true,
    "AppUpdateURL": "https://update.invalid", 
    "NoDefaultBookmarks": true,
    "DisableTelemetry": true,
    "DisableFirefoxStudies": true,
    "DisablePocket": true,
    "Cookies": {
      "Default": true,
      "AcceptThirdParty": "from-visited",
      "ExpireAtSessionEnd":  true,
      "RejectTracker": true,
      "Locked": false
    },
    "EnableTrackingProtection": {
      "Value": false,
      "Locked": false
    },
    "SearchEngines": {
      "Default": "Startpage"
    },
    "PopupBlocking": {
      "Default": true,
      "Locked": false
    }
  }
}
Present content of distribution.ini

Code: Select all

# Partner Distribution Configuration File
# Author: Dan Mills <thunder@mozilla.com>

# id: short string unique to this distribution
# about: a short descriptive (ui-visible) string for this distribution
# version: version of the extra distribution pieces (not the version of Firefox)
# bookmarks.initialized.pref: (optional) name of a boolean pref used to determine if bookmarks should be created on startup.  This option should not be used except to upgrade from previous customized distributions that did not use the distribution.ini method

[Global]
id=solydxk
version=1.0
about=SolydXK is an open source operating system for small and medium-sized businesses, non-profit organizations and home users.
about.en-US=SolydXK is an open source operating system for small and medium-sized businesses, non-profit organizations and home users.
about.nl-NL=SolydXK is een open source besturingssysteem voor midden- en kleinbedrijf, non-profitorganisaties en thuisgebruikers.
#bookmarks.initialized.pref=cck.solydxk.initialized

# This section contains the global js prefs.  You do should not list
# the localized preferences here (see below)

# Boolean preferences should be 'true' or 'false', w/o quotes.  e.g.:
# my.bool.preference=true
#
# Integer preferences should be unquoted numbers.  e.g.:
# my.int.preference=123
#
# String preferences should be in quotes.  e.g.:
# my.string.preference="foo"

[Preferences]
mozilla.partner.id="solydxk"
app.distributor="solydxk"
app.distributor.channel=firefox
browser.search.distributionID="com.solydxk"

# Update settings
app.update.channel="default"
app.update.enabled=false
extensions.update.enabled=true

# Do not use system colors in web pages
browser.display.use_system_colors=false
widget.content.gtk-theme-override="Breeze-X"

# Show bookmarks toolbar
browser.showPersonalToolbar=true

# UI language (empty string = os locale)
intl.locale.requested=""

# Default spell checker
spellchecker.dictionary=""

# Disable default browser checking.
browser.shell.checkDefaultBrowser=false

# Prevent EULA dialog to popup on first run
browser.EULA.override=true

# Site pinning
browser.newtabpage.pinned="[{\"url\":\"https://solydxk.com/\",\"title\":\"SolydXK | SolydXK Community\",\"frecency\":200,\"lastVisitDate\":0,\"type\":\"history\",\"baseDomain\":\"solydxk.com\"},{\"url\":\"https://forums.solydxk.com/\",\"title\":\"SolydXK Community Forums\",\"frecency\":150,\"lastVisitDate\":0,\"type\":\"history\",\"baseDomain\":\"forums.solydxk.com\"},{\"url\":\"https://solydxk.nl/\",\"title\":\"SolydXK Services (NL)\",\"frecency\":100,\"lastVisitDate\":0,\"type\":\"history\",\"baseDomain\":\"solydxk.nl\"}]"
browser.newtabpage.blocked="{\"26UbzFJ7qT9/4DhodHKA1Q==\":1,\"4gPpjkxgZzXPVtuEoAL9Ig==\":1,\"eV8/WsSLxHadrTL1gAxhug==\":1,\"gLv0ja2RYVgxKdp0I5qwvA==\":1,\"K00ILysCaEq8+bEqV/3nuw==\":1,\"T9nJot5PurhJSy8n038xGA==\":1}"
browser.newtabpage.activity-stream.default.sites="https://solydxk.com,https://forums.solydxk.com,https://solydxk.nl"

# Activate the backspace key for browsing back
browser.backspace_action=0

# Ignore Mozilla release notes startup pages
# browser.startup.homepage_override.mstone="ignore"

# Open the home page even on first run
browser.startup.firstrunSkipsHomepage=false

# Save tabs before exiting
browser.showQuitWarning=true

# Enable extensions by default
extensions.autoDisableScopes=0
extensions.enabledScopes=15

# Enable HTML5 (deprecated)
# media.fragmented-mp4.exposed=true
# media.fragmented-mp4.ffmpeg.enabled=true
# media.mediasource.enabled=true
# media.mediasource.webm.enabled=true

# Privacy settings (Misused by advertisers. Use uBlock instead)
# privacy.donottrackheader.enabled=true
# privacy.donottrackheader.value=1
# privacy.trackingprotection.enabled=true
# privacy.trackingprotection.ui.enabled=true

# Keep all cookies only for the current session
# Disabled to keep expected user experience
# network.cookie.lifetimePolicy=2

# Keep third party cookies only for the current session
network.cookie.thirdparty.sessionOnly=true
network.cookie.thirdparty.nonsecureSessionOnly=true

# Disable telemetry
toolkit.telemetry.enabled=false
toolkit.telemetry.archive.enabled=false
toolkit.telemetry.rejected=true
toolkit.telemetry.unified=false
toolkit.telemetry.unifiedIsOptIn=false
toolkit.telemetry.prompted=2
toolkit.telemetry.newProfilePing.enabled=false
toolkit.telemetry.shutdownPingSender.enabled=false
toolkit.telemetry.updatePing.enabled=false
toolkit.telemetry.bhrPing.enabled=false
toolkit.telemetry.firstShutdownPing.enabled=false

# Disable offline cache
browser.cache.offline.enable=false

# Enable/disable history
places.history.enabled=true

# Set to zero to not save tabs when closed
# Only use when disabling places.history.enabled
browser.sessionstore.max_tabs_undo=10

# Disable preloading of autocomplete URLs
browser.urlbar.speculativeConnect.enabled=false

# Safe Browsing: https://support.mozilla.org/en-US/kb/how-does-phishing-and-malware-protection-work
browser.safebrowsing.downloads.remote.enabled=false
browser.safebrowsing.provider.google4.dataSharing.enabled=false
browser.safebrowsing.malware.enabled=true
browser.safebrowsing.phishing.enabled=true

# Send limited Referer header
network.http.referer.trimmingPolicy=2
network.http.referer.XOriginPolicy=2
network.http.referer.XOriginTrimmingPolicy=2

# Do not upload health report to Mozilla
datareporting.healthreport.uploadEnabled=false
datareporting.policy.dataSubmissionEnabled=false

# Prevent sites from tracking your copy-paste behavior
dom.event.clipboardevents.enabled=false

# Prevent sites from knowing your battery status
dom.battery.enabled=false

# Disable service workers
dom.serviceWorkers.enabled=false

# Do not use geo location or else just use mozilla's geo location instead of Google's
geo.enabled=false
geo.wifi.uri="https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"

# Disable DNS prefetching
network.dns.disablePrefetch=true
network.dns.disablePrefetchFromHTTPS=true

# Do not pre-download linked web pages
network.prefetch-next=false

# Disable Necko/Captive Portal
network.predictor.enabled=false
network.predictor.enable-prefetch=false
network.captive-portal-service.enabled=false

# Disable link-mouseover opening connection to linked server
network.http.speculative-parallel-limit=0

# Disable pings but enforce same host
browser.send_pings=false
browser.send_pings.require_same_host=true

# Disable crash reports
browser.tabs.crashReporting.sendReport=false
browser.crashReports.unsubmittedCheck.enabled=false
browser.crashReports.unsubmittedCheck.autoSubmit=false
browser.crashReports.unsubmittedCheck.autoSubmit2=false

# Disable new tab tile ads & preload & marketing
browser.newtab.preload=false
browser.newtabpage.enhanced=false
browser.newtabpage.introShown=true

# Enable Firefox blocklist, but sanitize blocklist url
extensions.blocklist.enabled=true
extensions.blocklist.url="https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/"
services.blocklist.update_enabled=true
services.blocklist.signing.enforced=true

# Disable experiments
experiments.enabled=false
experiments.supported=false
experiments.activeExperiment=false
network.allow-experiments=false

# Disable some extensions
browser.ping-centre.telemetry=false # Disable PingCentre telemetry
extensions.pocket.enabled=false # Disable Pocket
dom.flyweb.enabled=false # Disable Flyweb
extensions.shield-recipe-client.enabled=false # Disable Shield Telemetry system

# Disable Follow On Search
browser.newtabpage.activity-stream.enabled=false
browser.library.activity-stream.enabled=false

# Disable Onboarding
browser.onboarding.enabled=false

# Prevent sites to track your microphone and camera status
media.navigator.enabled=false

# WebGl is a potential security risk
# https://security.stackexchange.com/questions/13799/is-webgl-a-security-concern
# webgl.disabled=true

# Disable WebRTC
# media.peerconnection.enabled=false
# media.peerconnection.use_document_iceservers=false
# media.peerconnection.video.enabled=false
# media.peerconnection.identity.enabled=false
# media.peerconnection.identity.timeout=1
# media.peerconnection.turn.disable=true
# media.peerconnection.ice.tcp=false
# media.navigator.video.enabled=false
# media.peerconnection.ice.default_address_only=true
# media.peerconnection.ice.no_host=true

# resistFingerprinting forces new window size: 1000x1000
# https://bugzilla.mozilla.org/show_bug.cgi?id=1330882
# privacy.resistFingerprinting=true

# Isolates all browser identifier sources (e.g. cookies) to the first party domain
# Sites who do use third party id sources might not function correctly
# privacy.firstparty.isolate=true

# Do not allow third party cookies - some sites won't even work
# network.cookie.cookieBehavior=1

# ===================================================

# This section is used as a template for locale-specific properties
# files.  They work similarly to the GlobalPrefs section, except that
# the %LOCALE% string gets substituted with the language string.
# 
# This section should only be used for localized string preferences.
# Other preference types will not work.

# [LocalizablePreferences]
#browser.startup.homepage="https://sandmill.org/%LOCALE%/%LOCALE%/"

# This section is an example of an override for a particular locale.
# The override sections do not interpolate %LOCALE% into strings.
# Preferences set in override sections are *merged* with the
# localizable defaults.  That is, if you want a pref in
# [LocalizablePreferences] to not be set in a particular locale,
# you'll need to unset it explicitly ("pref.name=" on a line of its
# own).

[LocalizablePreferences]
browser.startup.homepage="https://solydxk.com/"

[LocalizablePreferences-nl-NL]
browser.startup.homepage="https://solydxk.nl/"


# Search Plugins

# Search plugins do no need to be listed in this ini file.  Instead,
# create a directory structure like the following, and they will be
# automatically loaded:

# * distribution/
#   * searchplugins/
#     * common/
#       * <plugin.xml>
#       * <plugin.xml>
#       * ...
#     * locale/
#       * <locale>/
#         * <plugin.xml>
#         * <plugin.xml>
#         * ...
#       * <locale>/
#         * <plugin.xml>
#         * <plugin.xml>
#         * ...

# If a directory for the locale the browser is running in doesn't
# exist, Firefox will automatically try the 'default' locale, as defined
# by the distribution.searchplugins.defaultLocale preference.

# Bookmarks

# There are two "toplevel" sections, BookmarksToolbar and BookmarksMenu.
# These can reference other sections via the "folder" type item.  These
# folder sections must be named "BookmarksFolder-<id>".

# Each section contains a list of numbered item settings, where each
# item represents a bookmark, livemark, separator, folder, or the default
# bookmarks in that container (if any).  The default type is bookmark.
# 
# Since Firefox 45, it's possible to set an optional keyword or favicon
# for a bookmark.

#[BookmarksMenu]

[BookmarksToolbar]
item.1.type=folder
item.1.title=SolydXK
item.1.folderId=1

[BookmarksFolder-1]
item.1.title=SolydXK Community
item.1.link=https://solydxk.com/
item.1.description=SolydXK Community Site
item.1.icon=https://solydxk.com/++theme++plonetheme.clean_blog/favicon.ico
item.1.iconData=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAB2AAAAdgB+lymcgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANVSURB VDiNbZNdbFN1GIefc06/29PZbmXrxgbb6FYVWJApm8oSTURvTIjjQhM2PxIHBBaSGS9UJNOYYBSi k4RodC4xxBCUxLgoBC4YyRz7ZkOGcWuGKAy6du269azdaXv+XpgtQHyu3otfnl/e5H0lHmDfgZad mtn1uWbNy0/LZssaLXyzq6Oj6sHcCtLK0NTU5JS8vt9D3sC6v9RyWSAhJImn7g7itsppy1Iimo1H Gzs7OwfvFSgAra2t1gW37+8B/5MlYUeRNOssYtGWR9Ki4jVS3Hl2jylcXud+KDnzxvZN1Q8PDQyc uU/w0uP+73bbe544Z6qTbqllZBXLaoMm2Vg/P81ScZBIeZ1sTccfaaguLR3u7+8GkNv27K7Zap9+ 3mOVpPPKh1SlZ/CQwWNVcJllsu58lOQc7lQUhwKRuldkI7/0tebm5hIAPjnw4qnQu0Ui+9tnQggh Yr++J45cmhBCCPHxWEScnk4IQwjRcbZPnJtJCd0QomMiLva2tY0CyAUmrcIQMsr5NvizG0+eh/2O YS6E7nK4/x8+vRpFzwkO3XHzqC3DN/2TnIw5ydnUSgCTXdZVCfHfwj+/CXtHUYWg+svnWGs6gjnn wCRD9wvrmUrDodEIwYVB4hnZ/frBg5NyKF04/pNWlz6b2sa8ZS0oFlAslNl1Lsy3sCYVRgi4Mpem xmvD7vXR59tCb3E9EWdhqfz+iTMvG4pj6plKBWnXSaYunUIMfAGN31NhjnFUO4YhBG/33eLijEZX QzESIAmBNZvKyACJrOkP6el3yCsowWdNM5bwgqcCdn5L5fZXUfRFDleZuBZLUVtg50R9IYas4NK1 sATQ0tLi35yXGNofuFECMJOyce12ih324dV7uEKAXe6j3HSVUaiFqVgIGTWR6zsUgJGRkeTmLbXW jDDVBtSkTTVnmU558ORmscs6AH5ibFu+yuXlIBnFwtbZocmvjx9/S1lp6B0a7y3dWO+4oTmDQXXR tU7VuRwrYIPpNgBZFJZ1mU3ZkDGfUOIBt7Oqp6cnuyoA6B0cu1gYfOyX8UR+9URCNaK6XfUpCWUu pxI3XIR0f3Qi6f/B4ylpaG9v1+/7xv/jg32NP26wRTcu5ZSFmOEKzWbyPzr2Vdf1ezP/Au+RXlnV WxYGAAAAAElFTkSuQmCC
item.1.keyword=community
item.2.title=SolydXK Community Forums
item.2.link=https://forums.solydxk.com/
item.2.description=SolydXK Community Forums
item.2.icon=https://forums.solydxk.com/favicon.ico
item.2.iconData=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAB2AAAAdgB+lymcgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANVSURB VDiNbZNdbFN1GIefc06/29PZbmXrxgbb6FYVWJApm8oSTURvTIjjQhM2PxIHBBaSGS9UJNOYYBSi k4RodC4xxBCUxLgoBC4YyRz7ZkOGcWuGKAy6du269azdaXv+XpgtQHyu3otfnl/e5H0lHmDfgZad mtn1uWbNy0/LZssaLXyzq6Oj6sHcCtLK0NTU5JS8vt9D3sC6v9RyWSAhJImn7g7itsppy1Iimo1H Gzs7OwfvFSgAra2t1gW37+8B/5MlYUeRNOssYtGWR9Ki4jVS3Hl2jylcXud+KDnzxvZN1Q8PDQyc uU/w0uP+73bbe544Z6qTbqllZBXLaoMm2Vg/P81ScZBIeZ1sTccfaaguLR3u7+8GkNv27K7Zap9+ 3mOVpPPKh1SlZ/CQwWNVcJllsu58lOQc7lQUhwKRuldkI7/0tebm5hIAPjnw4qnQu0Ui+9tnQggh Yr++J45cmhBCCPHxWEScnk4IQwjRcbZPnJtJCd0QomMiLva2tY0CyAUmrcIQMsr5NvizG0+eh/2O YS6E7nK4/x8+vRpFzwkO3XHzqC3DN/2TnIw5ydnUSgCTXdZVCfHfwj+/CXtHUYWg+svnWGs6gjnn wCRD9wvrmUrDodEIwYVB4hnZ/frBg5NyKF04/pNWlz6b2sa8ZS0oFlAslNl1Lsy3sCYVRgi4Mpem xmvD7vXR59tCb3E9EWdhqfz+iTMvG4pj6plKBWnXSaYunUIMfAGN31NhjnFUO4YhBG/33eLijEZX QzESIAmBNZvKyACJrOkP6el3yCsowWdNM5bwgqcCdn5L5fZXUfRFDleZuBZLUVtg50R9IYas4NK1 sATQ0tLi35yXGNofuFECMJOyce12ih324dV7uEKAXe6j3HSVUaiFqVgIGTWR6zsUgJGRkeTmLbXW jDDVBtSkTTVnmU558ORmscs6AH5ibFu+yuXlIBnFwtbZocmvjx9/S1lp6B0a7y3dWO+4oTmDQXXR tU7VuRwrYIPpNgBZFJZ1mU3ZkDGfUOIBt7Oqp6cnuyoA6B0cu1gYfOyX8UR+9URCNaK6XfUpCWUu pxI3XIR0f3Qi6f/B4ylpaG9v1+/7xv/jg32NP26wRTcu5ZSFmOEKzWbyPzr2Vdf1ezP/Au+RXlnV WxYGAAAAAElFTkSuQmCC
item.2.keyword=forums
item.3.title=SolydXK Community News
item.3.type=livemark
item.3.siteLink=https://solydxk.com/news/
item.3.feedLink=https://solydxk.com/news/aggregator/RSS
item.3.keyword=news
item.4.type=separator
item.5.title=SolydXK Services (NL)
item.5.link=https://solydxk.nl/
item.5.description=SolydXK Services Site (NL)
item.5.icon=https://solydxk.nl/++theme++plonetheme.clean_blog/favicon.ico
item.5.iconData=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAB2AAAAdgB+lymcgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANVSURB VDiNbZNdbFN1GIefc06/29PZbmXrxgbb6FYVWJApm8oSTURvTIjjQhM2PxIHBBaSGS9UJNOYYBSi k4RodC4xxBCUxLgoBC4YyRz7ZkOGcWuGKAy6du269azdaXv+XpgtQHyu3otfnl/e5H0lHmDfgZad mtn1uWbNy0/LZssaLXyzq6Oj6sHcCtLK0NTU5JS8vt9D3sC6v9RyWSAhJImn7g7itsppy1Iimo1H Gzs7OwfvFSgAra2t1gW37+8B/5MlYUeRNOssYtGWR9Ki4jVS3Hl2jylcXud+KDnzxvZN1Q8PDQyc uU/w0uP+73bbe544Z6qTbqllZBXLaoMm2Vg/P81ScZBIeZ1sTccfaaguLR3u7+8GkNv27K7Zap9+ 3mOVpPPKh1SlZ/CQwWNVcJllsu58lOQc7lQUhwKRuldkI7/0tebm5hIAPjnw4qnQu0Ui+9tnQggh Yr++J45cmhBCCPHxWEScnk4IQwjRcbZPnJtJCd0QomMiLva2tY0CyAUmrcIQMsr5NvizG0+eh/2O YS6E7nK4/x8+vRpFzwkO3XHzqC3DN/2TnIw5ydnUSgCTXdZVCfHfwj+/CXtHUYWg+svnWGs6gjnn wCRD9wvrmUrDodEIwYVB4hnZ/frBg5NyKF04/pNWlz6b2sa8ZS0oFlAslNl1Lsy3sCYVRgi4Mpem xmvD7vXR59tCb3E9EWdhqfz+iTMvG4pj6plKBWnXSaYunUIMfAGN31NhjnFUO4YhBG/33eLijEZX QzESIAmBNZvKyACJrOkP6el3yCsowWdNM5bwgqcCdn5L5fZXUfRFDleZuBZLUVtg50R9IYas4NK1 sATQ0tLi35yXGNofuFECMJOyce12ih324dV7uEKAXe6j3HSVUaiFqVgIGTWR6zsUgJGRkeTmLbXW jDDVBtSkTTVnmU558ORmscs6AH5ibFu+yuXlIBnFwtbZocmvjx9/S1lp6B0a7y3dWO+4oTmDQXXR tU7VuRwrYIPpNgBZFJZ1mU3ZkDGfUOIBt7Oqp6cnuyoA6B0cu1gYfOyX8UR+9URCNaK6XfUpCWUu pxI3XIR0f3Qi6f/B4ylpaG9v1+/7xv/jg32NP26wRTcu5ZSFmOEKzWbyPzr2Vdf1ezP/Au+RXlnV WxYGAAAAAElFTkSuQmCC
item.5.keyword=services
item.6.title=SolydXK Services Nieuws (NL)
item.6.type=livemark
item.6.siteLink=https://solydxk.nl/news/
item.6.feedLink=https://solydxk.nl/news/aggregator/RSS
item.6.keyword=nieuws

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 04 Sep 2019 19:11

I had a look at https://github.com/mozilla/policy-templates and saw that parts have to be done in policies, starting with FF68. Doesn't work on present ESR though. Testing again ...

Code: Select all

{
  "policies": {
    "DisableAppUpdate": true,
    "AppUpdateURL": "https://update.invalid", 
    "NoDefaultBookmarks": true,
    "DefaultDownloadDirectory": "${home}/Downloads",
    "DisableTelemetry": true,
    "DisableFirefoxStudies": true,
    "DisablePocket": true,
    "NetworkPrediction": false,
    "SearchBar": "separate",
    "SearchSuggestEnabled": false,
    "Cookies": {
      "Default": true,
      "AcceptThirdParty": "from-visited",
      "ExpireAtSessionEnd":  true,
      "RejectTracker": true,
      "Locked": false
    },
    "EnableTrackingProtection": {
      "Value": false,
      "Locked": false
    },
    "SearchEngines": {
      "Default": "Startpage"
    },
    "PopupBlocking": {
      "Default": true,
      "Locked": false
    },
    "FirefoxHome": {
     "TopSites": false,
     "Pocket": false,
      "Snippets": false,
      "Locked": true
    },
    "SupportMenu": {
      "Title": "SolydXK Support",
      "URL": "http://forums.solydxk.com",
      "AccessKey": "S"
    },
    "DNSOverHTTPS": {
      "Enabled":  false,
      "ProviderURL": " ",
      "Locked": false
    }
  }
}
I've looked through the available policies and included some. This works for regular FF. Please discuss.

Additionally I would like to implement the following settings in distribution,ini. From the long list of recommended settings I have picked those I'm reasonably sure about. I know this is still a long list but I don't have time for further reduction.

Code: Select all

browser.newtab.preload=false
browser.newtabpage.activity-stream.discoverystream.enabled=false
browser.newtabpage.activity-stream.enabled=false
browser.newtabpage.activity-stream.feeds.asrouterfeed=false
browser.newtabpage.activity-stream.feeds.discoverystreamfeed=false
browser.newtabpage.activity-stream.feeds.messagecenterfeed=false
browser.newtabpage.activity-stream.feeds.section.highlights=true
browser.newtabpage.activity-stream.feeds.section.topstories=false
browser.newtabpage.activity-stream.feeds.snippets=false
browser.newtabpage.activity-stream.feeds.systemtick=false
browser.newtabpage.activity-stream.feeds.telemetry=false
browser.newtabpage.activity-stream.feeds.theme=false
browser.newtabpage.activity-stream.feeds.topsites=false
browser.newtabpage.activity-stream.improvesearch.noDefaultSearchTile=false
browser.newtabpage.activity-stream.messageCenterExperimentEnabled=false
browser.newtabpage.activity-stream.section.highlights.includePocket=false
browser.newtabpage.activity-stream.section.highlights.rows=3
browser.newtabpage.activity-stream.showSponsored=false
browser.newtabpage.activity-stream.showTopSites=false
browser.newtabpage.activity-stream.telemetry=false
browser.newtabpage.activity-stream.telemetry.ping.endpoint=""
browser.newtabpage.activity-stream.telemetry.ut.events=false
browser.ping-centre.telemetry=false	 
browser.ping-centre.production.endpoint=""
browser.ping-centre.staging.endpoint=""
ESR is still unsolved for me. It looks like ESR doesn't even read any of these settings? I'm too tired, please somebody else test on ESR.

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 04 Sep 2019 20:51

I've heavily edited my above posts.

It's humanly impossible to stay ahead of this. Waterfox removes the whole activity-stream and telemetry ootb. We should consider adopting Waterfox as default browser.

Also setting the default search engine will be removed in ESR68.

Users: Don't even think about avoiding this with chromium. They are doing the same stuff, just silently. Firefox is still the best browser there is.

bin
Posts: 40
Joined: 13 Dec 2013 15:31

Re: Firefox newtab advertising

Postby bin » 05 Sep 2019 05:52

I use FF ESR 60.8.0

These are the non-default newtabpage settings from my config - the result is a plain page with address and search box.

app.normandy.startupRolloutPrefs.browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts;true
browser.newtabpage.activity-stream.feeds.section.highlights;false
browser.newtabpage.activity-stream.feeds.snippets;false
browser.newtabpage.activity-stream.feeds.topsites;false
browser.newtabpage.activity-stream.impressionId;{f1cd631f-3fa0-406a-bc61-fc087885df6d}
browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned;google,amazon
browser.newtabpage.activity-stream.migrationExpired;true
browser.newtabpage.activity-stream.prerender;false
browser.newtabpage.activity-stream.section.highlights.includeBookmarks;false
browser.newtabpage.activity-stream.section.highlights.includeDownloads;false
browser.newtabpage.activity-stream.section.highlights.includePocket;false
browser.newtabpage.activity-stream.section.highlights.includeVisited;false
browser.newtabpage.activity-stream.showSearch;false
browser.newtabpage.enabled;false
browser.newtabpage.pinned;[{"url":"https://google.com","label":"@google","searchTopSite":true},{"url":"https://amazon.com","label":"@amazon","searchTopSite":true}]
browser.newtabpage.storageVersion;1

The telemetry settings for browser.newtabpage are:-
browser.newtabpage.activity-stream.feeds.telemetry;true
browser.newtabpage.activity-stream.telemetry;true
browser.newtabpage.activity-stream.telemetry.ping.endpoint;https://tiles.services.mozilla.com/v4/l ... ity-stream
browser.newtabpage.activity-stream.telemetry.ut.events;false

I have not altered these yet - happy to do so if it would be of help but not sure how to tell if that has had any effect.
Actually quite alarmed at the number of telemetry settings now you come to mention it!
Attachments
newtab.png

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 05 Sep 2019 12:29

Thank you for testing. "browser.newtabpage.enabled;false" results in an empty page in your case.
I'm trying to achieve something like this - which works fine on FF regular but not on FF ESR - the distribution.ini settings get dropped for some reason.
Attachments
NewTab1.png

bin
Posts: 40
Joined: 13 Dec 2013 15:31

Re: Firefox newtab advertising

Postby bin » 06 Sep 2019 05:47

Ah yes - I see what you mean, it doesn't seem possible to get to the page layout you want simply, but it may be a combination of settings

Don't know if it would be possible to output about:config to a file - then compare with Xxdiff?

Given it works in latest FF, can you get a on old version of FF 60 the same number as current ESR to see what changed?

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 06 Sep 2019 11:54

I have all the right commands above - at least I think so. They work if I set them manually - but not if put them in distribution.ini. Granted, distribution.ini also has the commands for later versions of Firefox ....

User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Firefox newtab advertising

Postby Arjen Balfoort » 06 Sep 2019 13:38

Is there something you want me to check out or include in the ini file?


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 06 Sep 2019 15:34

This: viewtopic.php?f=78&t=7627#p71015. The policies work but distribution.ini settings only work on FF regular, not on ESR although most of them are actually meant for ESR (FF>=68 has policies for newtab). The settings don't get read by ESR for some reason that I can't figure out. Maybe it's some version conflict 60/68. I can't try on metal atm.

User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Firefox newtab advertising

Postby Arjen Balfoort » 08 Sep 2019 10:10

I checked it myself and, just as you found out, FF ESR ignores or overwrites some settings in distribution.ini with their hard-coded settings.
There's nothing we can do about that, except providing a prefs.js file in the skel directory which is not permitted by Mozilla.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 08 Sep 2019 15:15

I don't know the minimum set for FF regular and I have no time to test line-by-line. All settings work for FF69 so lets add them.
Waterfox doesn't need any new modifications AFAIK.

User avatar
Arjen Balfoort
Site Admin
Posts: 9258
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Firefox newtab advertising

Postby Arjen Balfoort » 08 Sep 2019 18:19

I just tried to put these settings in /etc/firefox-esr/syspref.js but to no avail.

Code: Select all

user_pref("browser.newtabpage.activity-stream.disableSnippets", true);
user_pref("browser.newtabpage.activity-stream.feeds.aboutpreferences", false);
user_pref("browser.newtabpage.activity-stream.feeds.favicon", false);
user_pref("browser.newtabpage.activity-stream.feeds.messagecenterfeed", false);
user_pref("browser.newtabpage.activity-stream.feeds.migration", false);
user_pref("browser.newtabpage.activity-stream.feeds.newtabinit", false);
user_pref("browser.newtabpage.activity-stream.feeds.places", false);
user_pref("browser.newtabpage.activity-stream.feeds.prefs", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories.options", "");
user_pref("browser.newtabpage.activity-stream.feeds.sections", false);
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
user_pref("browser.newtabpage.activity-stream.feeds.systemtick", false);
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.feeds.theme", false);
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
user_pref("browser.newtabpage.activity-stream.messageCenterExperimentEnabled", false);
user_pref("browser.newtabpage.activity-stream.migrationExpired", true);
user_pref("browser.newtabpage.activity-stream.prerender", false);
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
user_pref("browser.newtabpage.activity-stream.showSearch", false);
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
user_pref("browser.newtabpage.activity-stream.showTopSites", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false);
user_pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", "");
user_pref("browser.newtabpage.activity-stream.telemetry.ut.events", false);
user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", "");
user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
user_pref("browser.newtabpage.activity-stream.feeds.asrouterfeed", false);
user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false);
user_pref("browser.newtabpage.activity-stream.improvesearch.noDefaultSearchTile", false);
I read this link for AS settings:
https://github.com/ghacksuserjs/ghacks- ... issues/396


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2474
Joined: 09 Oct 2013 12:45

Re: Firefox newtab advertising

Postby ilu » 09 Sep 2019 13:52

Yeah I've done that too. And tried all the proposed settings without result on ESR60. I can get the page blank but nothing like we want to have. Removing an xpi after every update is no solution for our users, I didn't even try that.

Everything works well on Firefox >67 though. Probably also on ESR68 but I did not test that. That's why I proposed to switch to Waterfox as default. Or ESR68. Or just live with things as they are now on ESR. But implement the changes for FF regular please.


Return to “Testing Zone”

Who is online

Users browsing this forum: No registered users and 3 guests