What's new in JavaScript Restrictor (JShelter) 0.18

Apr 19, 2024
  • Migrate to non-persistent background pages as a first step towards Manifest v3. Please report any unusual behaviour.

New in JavaScript Restrictor (JShelter) 0.17 (Nov 4, 2023)

  • Added support for built-in tweaks for specific domains. The goal is to list several domains that
  • break unnecessarily. Typically, an addition to the list should be well explained and must not
  • lower protection. A nice candidate is WebWorker and the protection of Strict (break) and Remove.
  • Updated translations
  • Improved FPD report based on user feedback:
  • Do not refresh report automatically when tracking callers but introduce an update button so that
  • users refresh when convenient (prevent glitches in the interfaces)
  • Add buttons to hide/show details and fold/unfold groups
  • Do not show traces in bold to better differentiate between API names and traces.
  • Add possibility to forget current traces. Useful when there is a fingerprinting script that activates after some action. The button allows the user to hide the traces triggered in the past and later load only new traces.
  • Add support for signing for Android on AMO: https://blog.mozilla.org/addons/2023/10/05/changes-to-android-extension-signing/, so we needed to increase minimal supported version

New in JavaScript Restrictor (JShelter) 0.15.2 (Sep 21, 2023)

  • Fix window.name protection, do not clear the property in the first visited page. The fix affects all Chromium-based browsers and Firefox installs with the protection active (by default it is off in Firefox as Firefox contains the protection since Firefox 88). This fixes, for example, reCaptcha.
  • Options: Improve space distribution

New in JavaScript Restrictor (JShelter) 0.15 (Sep 13, 2023)

  • Update NSCL to uses built-in and faster function to compute sha256.
  • Russian translation added.

New in JavaScript Restrictor (JShelter) 0.14 (Aug 31, 2023)

  • Added support for internationalization, Czech translation added, see blog post for instrctions for translators
  • All texts revisited, clarified, and fixed grammar and typos
  • Improved performance of Canvas and Audio little-lies wrappers by executing in WebAssembly, there will be a separate blog post with additional explanations. See the bachelor thesis of Martin Zmitko for more details.
  • Improved performance of FPD. See the bachelor thesis of Martin Zmitko for more details.
  • Expand description of the wrappers applied when the user interacts with the tweak GUI (suggested by the Plain Text UX review)
  • Make level names in main options section stable width
  • NSCL updated:
  • Prevent dead object access on using backward/forward cache of the browser
  • Fixed property/function mismatch

New in JavaScript Restrictor (JShelter) 0.13 (Jun 29, 2023)

  • The code is no longer generated in the background due to the latency of passing huge messages from background to content scripts.
  • Optimize injection code size (remove duplicate code).

New in JavaScript Restrictor (JShelter) 0.12.2 (Jun 7, 2023)

  • Reimplement AudioBuffer.prototype.copyFromChannel to prevent multiple farbling of the same data
  • Optimize performance of Canvas and Audio wrappers
  • NSCL updated: JShelter benefits from the mechanism to prevent inconsistencies / breakages when the extension gets updated and therefore the old wrappers are invalidated by Firefox which nukes their sandbox and new ones are installed on extension's automatic restart

New in JavaScript Restrictor (JShelter) 0.12.1 (Apr 19, 2023)

  • Bugfix: Return the correctly created Worker object from the `Strict` wrapper.

New in JavaScript Restrictor (JShelter) 0.12.0 (Apr 19, 2023)

  • Cope with the changes of reported plugins and supported MIME types in the HTML standard and
  • Browsers: The purpose of the wrappers is solely to prevent fingerprinting. As browsers return the
  • Same 5 plugins, browsers modyfing the array stand out, which makes them more fingerprintable.
  • Hence, JShelter does not modify the empty list or the list of five standard plugins.
  • Reconsider and rewrite Web Worker wrappers (pagure issue 80)
  • `Strict` WebWorker policy intentionally breakes Web Workers
  • New policy to `Remove` Web Workers used for `Turn fingerprinting protection off` and `Strict` level.
  • `Medium` WebWorker policy renamed to `Low` as it only tackles a single issue with Workers.

New in JavaScript Restrictor (JShelter) 0.11.4 (Mar 29, 2023)

  • Bugfix: allow tweaking all levels except L0 in the popup (pagure issue 89)
  • Bugfix: clarify and fix the description of changes to NBS in 0.11.3 (pagure issue 41)

New in JavaScript Restrictor (JShelter) 0.11.3 (Mar 28, 2023)

  • Bugfix: Remove race condition that reset default level to Recommended from custom levels. Unfortunately, affected users need to manually restore the default level as JShelter cannot distinguish affected users automatically.
  • Bugfix: Deactivate NBS in the presence of HTTP proxy in Firefox, see pagure issues #41 and #85 for more details.
  • Enhancement: Fix empty spaces to improve the look of the option page

New in JavaScript Restrictor (JShelter) 0.11.2 (Mar 24, 2023)

  • Bugfix: chack domains property in advanced options (introduced in 0.10)
  • Bugfix: remove unused config.whitelistedHosts
  • Bugfix: Fix several typos in the text in options
  • Bugfix: Do not use hard-coded level in the advanced options validity checks of configuration
  • Feature: Add option to reset configuration to advanced options
  • Enhancement: Reimplement JSS configuration in option to improve understandability
  • Enhancement: Fix race conditions in displaying stored configuration after changes through options
  • Enhancement: Add undo to advanced options
  • Enhancement: Warn users from tweaking their settings dur to higher risks of reidentification via browser fingerprinting
  • Enhancement: Add button to cancel the addition of a new level, update the error texts
  • Website: little improvements and clarifications

New in JavaScript Restrictor (JShelter) 0.11.1 (May 18, 2022)

  • NBS: do not show notifications for hostnames resolving to undefined IP addresses as described in FAQ (broken in 0.11 that does not show notifications only for undefined IP addresses, but shows notifications for hostnames resolving to undefined IP addresses)

New in JavaScript Restrictor (JShelter) 0.11 (May 13, 2022)

  • Reset `window.name` only on eTLD+1 changes
  • Farbling: Use eTLD+1 instead of origin to generate hash
  • FPD: Clear storage during navigation (prevent the page from storing the hash to a local storage
  • And loading the hash after page reload)
  • FPD configuration: Decouple notification and behaviour settings. Let a user to optionally disable notifications without strict effect on behaviour
  • Improve CSP of the extension pages, fix broken favicons in FPD report
  • NBS: Block requests to undefined IP address (0.0.0.0 or [::]) but do not show notifications
  • Fix extension initialization in permanent private mode
  • Options: Add external links to JShelter.org FAQ and threat model
  • Add favicons to options pages
  • Remove unused icons

New in JavaScript Restrictor (JShelter) 0.10 (Apr 29, 2022)

  • Add wrappers modifying calls detecting supported media types and installed codecs (Multimedia playback), github issue 66
  • Add wrappers modifying `HTMLMediaElement.prototype.canPlayType` (Multimedia playback)
  • Add wrappers disabling Network Information API inspired by Brave, github issue 66
  • Add wrappers disabling Web NFC API, github issue 66
  • Add wrappers for Cooperative Scheduling of Background Tasks API, github issue 66
  • Add wrappers for User idle detection, github issue 66
  • Add possibility to set NBS as passive (notify user but do not block), github issue 66
  • Fix Web Audio wrappers (Pagure issue #16)
  • FPD Report allows exporting data as JSON
  • Modified FPD wrappers independent on JSS
  • FPD can be configured as strict (more aggressive fingerprinting detection)
  • Better storages removal through content script in the absence of browserData permissions by FPD
  • Fix early loading of module configuration (FPD used to be disabled after first installation)
  • FPD initialization reworked
  • Add support for customizing settings for file:// scheme (Github issue #180)
  • Improve config checker in advanced options
  • Improved English, naming consistency, and some descriptions
  • Apply Content-Security-Policy to webextension pages
  • Fix some issues with invalid domains in advanced JavaScript Shield configuration (Pagure issue 45)

New in JavaScript Restrictor (JShelter) 0.9 (Apr 6, 2022)

  • Firefox: deactivate window.name wrapper for Firefox; Firefox provides protection since 88 and
  • JShelter wrapper brakes pages
  • Enable webworker wrappers by default, see the paper https://arxiv.org/abs/2204.01392, §4.3
  • Tidy up popup UI and FPD report UI
  • Show wrapper groups descriptions in options.html

New in JavaScript Restrictor (JShelter) 0.8.1 (Mar 22, 2022)

  • Add "Turn fingerprinting protection off" level. As the AFPD shows the likelihood of fingerprinting, some users might be tempted to trade some performance gain for no protection against fingerprinting. See for example Github #179.
  • Fix displaying empty FPD report

New in JavaScript Restrictor (JShelter) 0.7.1 (Mar 16, 2022)

  • Show fingerprinting likelihood in the popup and badge icon colour
  • GPS wrapper reimplemented to use farbling (simulate a stationary device for per domain and
  • Sessions), previously each page load generated a new position
  • Reorganize canvas reading wrappers, all are in the same group
  • Security review and hardening of the wrappers
  • Do not change values depending on activated tweaks
  • Remove obvious reversibility of the canvas farbling
  • Unify wrapping between H-C and WEBGL
  • Unify the wrappers in Strict and Farbling wrapping of WebGL parameters (some were farbled but not disabled on Strict)
  • Farbling of WebGL parameters spread more wildly to hide the correct
  • Number (that might have been revealed after several visits)
  • WebGL: Farble renderer and vendor the same way as unmasked versions
  • Remove possible dependencies between multiple wrapping groups using
  • RandomString()
  • Strict: Return empty UNMASKED VENDOR and RENDERER - Previosuly, these values depended
  • On the domainHash, that meant that the unique value could be used to uniquely fingerprint the device.
  • Harden WEBA farbling
  • Scramble the output of PRNG with domainHash to prevent guessing the
  • Future PRNs
  • Try to improve speed as possible but the wrapping is likely slower
  • Than 0.7.x
  • Github #125: Add option to disable NBS notifications, limit the number of notifications
  • Fix Pagure #18 Optional permissions for AFPD - it is not necessary to give browsingData
  • Allowlist options in NBS and FPD changed breaking backwards compatibility
  • When optionally activated, wrap BigInt typed arrays the same way as other typed arrays

New in JavaScript Restrictor (JShelter) 0.7.1 (Mar 5, 2022)

  • Apply proper shielding for `navigator.plugins`

New in JavaScript Restrictor (JShelter) 0.7 (Feb 24, 2022)

  • JavaScript Restrictor rebranded to JShelter.
  • The extension officially consists of JavaScript Shield (originally called wrappers), NBS, and FPD.
  • Unified way to disable each component in the pop up. This should prevent users from disabling NBS
  • thinking they disabled JSS.
  • New UI to create and tweak JavaScript Shield levels.
  • Pop up redesigned. Try not to confuse the user about global/per-page settings.
  • It is possible to create per-domain JavaScript Shield tweaks, i.e. enable or disable specific
  • group of wrappers for certain domain only without the necessity to create a new level.
  • The wrapping strength is defined by the user with a range input.
  • The badge icon does not show level ID anymore. JShelter shows the number of wrapping groups
  • accessed by the current page. Report the number of calls for wrapped APIs in the pop up.
  • Level 1 removed as it was not properly maintained.
  • Timestamp protection in level 2 increased to match level 3.
  • XHR wrappings and (sharred) array buffers not wrapped anymore as XHR is superseded by FPD and
  • array buffers break other APIs.
  • New experimental level added that is based on original level 3.
  • Better and much longer description of built-in levels.
  • Added support for device rotation. Accelerometer, LinearAccelerationSensor, GravitySensor, and Magnetometer now adjust the gravity vector by the rotation matrix.
  • AmbientLightSensor, Gyroscope, AbsoluteOrientationSensor, and RelativeOrientationSensor wrappers added.
  • Accessibility improvements in pop up.
  • New colour scheme based on the logo and JShelter.org web site for both light and dark theme.
  • Load FPD settings from advanced options correctly.
  • Some inconsistences in update mechanism of hardware and enumerateDevices found and fixed.
  • Level settings are not backward-comptible, backup 0.6.x configuration if you plan to downgrade.

New in JavaScript Restrictor (JShelter) 0.6.4 (Feb 3, 2022)

  • Fix wrapping of navigator.plugins in Firefox. This regression appeared in 0.6 in the generated code resticted by apply_if condition.

New in JavaScript Restrictor (JShelter) 0.6.3 (Jan 21, 2022)

  • Make sure that dynamically created iframes are not vulnerable to leaking unwrapped APIs (Update NSCL)
  • Fix FPD when run in a limited environment
  • Do not interfere with time explicitely given to Date object
  • Fix Network Boundary Shield name in the popup

New in JavaScript Restrictor (JShelter) 0.6.2 (Jan 17, 2022)

  • Make sure that dynamically created iframes are not vulnerable to leaking unwrapped APIs (Update NSCL)

New in JavaScript Restrictor (JShelter) 0.6.1 (Jan 14, 2022)

  • Disable FPD by default, you are welcome to opt-in
  • Provide access to advanced options from the main options page
  • Fix update script to migrate to new configuration

New in JavaScript Restrictor (JShelter) 0.6 (Jan 12, 2022)

  • New protection: Fingerprint detector, see the blogpost for explanation.
  • Physical environment wrapper group added. It contains `Sensor`, `Magnetometer`, `Accelerometer`, `LinearAccelerationSensor`, `GravitySensor` wrappers. Some readings might be inconsistent. `Gyroscope` and `Orientation` sensors will be a part of a future release.
  • It is possible to import/export configuration (Github issue #159).
  • Improved accessibility of the pop up and option pages.
  • Bugfix: Fix double injection of some wrappers. For example, this solves regression in Geolocation wrapper introduced in 0.5.

New in JavaScript Restrictor (JShelter) 0.5.5 (Nov 4, 2021)

  • Tighter content script initialization
  • Bugfix: wrap `Navigator.prototype` and `Geolocation.prototype` instead of `navigator` and
  • navigator.geolocation`
  • Remove additional Geolocation API objects when Geolocation is disabled completely
  • Icons updated and synced with the JShelter website

New in JavaScript Restrictor (JShelter) 0.5.4 (Oct 15, 2021)

  • Dark style support added (Github issue #134)
  • Bugfix: Removal of debugging noise (Github issue #139)
  • Bugfix: Allow removal of user-defined levels with names of a built-in level
  • Bugfix: Make sure that all user-defined levels are displayed in "Specific domain level configuration"
  • Settings page
  • Bugfix: Ignore non-existing levels for a specific domain

New in JavaScript Restrictor (JShelter) 0.5.3 (Oct 13, 2021)

  • Bugfix: Cascade top document's level to subframes with no explicitly assigned level. (workaround
  • For Github issue #133).
  • Bugfix: Improve IPv6 handling in NBS
  • Do not display NBS notifactions when accessing 0.0.0.0 and :: (workaround
  • For Github issue #125)
  • Improve NBS description in the option/settings page.
  • Display level names in the pop up to improve usability.

New in JavaScript Restrictor (JShelter) 0.5.2 (Oct 7, 2021)

  • Bugfix: Do not modify JS environment on level 0. Regression appeared in 0.5.

New in JavaScript Restrictor (JShelter) 0.5.1 (Oct 6, 2021)

  • Bugfix: Display correctly NBS status at the current page (Github issue #114)
  • Rebranding step 1: change UI-facing icons
  • Set minimal pop up width so that the pop up is usable in Chrome (Github issue #112, Pagure issue
  • Chromium-based browsers: revise Battery API protection that should match the expectations of page
  • scripts (mimic Firefox behaviour).
  • Fixed typos in settings.
  • The extension is available for Firefox for Android.

New in JavaScript Restrictor (JShelter) 0.5 (Oct 5, 2021)

  • Add fingerprinting defenses based on Farbling developed by the Brave browser (improved or added
  • wrappers for Canvas, Audio, Web GL, device memory, hardware concurrency, enumerateDevices). Most
  • wrappers support provisioning of white lies that differ between origins and sessions (the
  • fingeprint is different across origins and across sessions).
  • We claimed to generate white image fake Canvas value but instead generated fully transparent black image. We now generate the white image as it is more common in other anti-canvas fingerprinting tools (level 3).
  • toDataUrl() no longer destructs the original canvas.
  • We use NoScript Commons Library to simplify some tasks like cross-browser support.
  • More reliable early content script configuration.
  • CSP headers no longer prevents the extension from wrapping JS APIs in Firefox (Github issue #25)
  • Wrappers should be injected reliably before page scripts start to operate (Github issue #40)
  • We use NSCL to wrap APIs in iframes and workers
  • It is no longer possible to access unwrapped functions from iframes and workers (Pagure issue #2, Github issue #56)
  • Ignore trailing ‘.’ in domain names when selecting appropriate custom level.
  • Do not freeze wrappers to prevent fingeprintability of the users of JSR. We wrap the correct function
  • in the prototype chain instead.
  • navigator.getGamepads() wrapper added
  • navigator.activeVRDisplays() and navigator.xr wrappers added
  • Limit precision of high resolution timestamps in the Event, VRFrameData, and Gamepad interface to be consistent
  • with Date and Performance precision