Stored Suggestions

Stored suggestions are the extension’s memory of past user-confirmed unprotection actions.

Stored Suggestions

Stored suggestions are the extension’s memory of past user-confirmed unprotection actions. When a user manually unprotects an element through the extension, that element’s location and data element mapping are saved locally. On subsequent visits to the same page, the extension can automatically re-apply those unprotections without any further user interaction — provided the Unprotect Based on Past Usage setting is enabled.


How Suggestions Are Created

Each time a user performs a manual unprotect operation on an element, the extension records a suggestion containing:

  • The element’s XPath and positional offsets within the DOM
  • Contextual XPaths of the surrounding elements (preceding sibling, following sibling, parent)
  • The element’s id, class, attributes, and any custom attributes
  • The data element and operation type selected by the user
  • A match_frequency counter, starting at 1

Suggestions are stored in Chrome’s local storage (device-local, not synced across browsers) and are scoped per URL — organised by domain, path segments, query parameters, and hash.


Match Frequency

Every time a suggestion is confirmed again on the same element, its match_frequency counter is incremented. This counter acts as a confidence signal: the more times a particular mapping has been confirmed by the user, the more reliably it can be applied automatically.

When Unprotect Based on Past Usage runs on page load, only suggestions whose match_frequency exceeds the configured frequencyResetThreshold are applied automatically.

Config keyDefaultDescription
matcherConfig.frequencyResetThreshold2Minimum match frequency a suggestion must exceed before it is applied automatically

A suggestion with match_frequency of 1 will not be applied automatically at the default threshold — it must be confirmed at least twice before it is trusted for automatic unprotection.


How Automatic Re-application Works

When the page loads and Unprotect Based on Past Usage is enabled, the extension:

  1. Looks up stored suggestions for the current URL
  2. Filters to only those exceeding the frequency threshold
  3. Resolves each suggestion’s XPath against the current DOM
  4. Submits the matched element’s content to the Protegrity service for unprotection using the stored data element

Stored suggestion unprotection runs after standard attribute and custom mapping unprotection in the processing order. Elements already processed by an earlier step are skipped.


Storage Scope

Suggestions are stored in chrome.storage.local — they are local to the device and browser profile they were created on. They are not synced via Chrome’s sync storage and are not shared across devices or user profiles.


Last modified : May 28, 2026