Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REGEX_CLICKABLE_CLASS in exported settings is an empty object #83

Closed
the-blank-x opened this issue Aug 1, 2023 · 0 comments
Closed
Labels

Comments

@the-blank-x
Copy link

Steps to reproduce

  1. Set a custom REGEX_CLICKABLE_CLASS
  2. Export settings

Description

When settings are exported, .debug.ElementManager.REGEX_CLICKABLE_CLASS is {} instead of the user's setting (example:
LinkHints-options-2023-08-01.json.gz).

Debug info

Debug info
{
  "version": "1.3.1",
  "browser": "firefox",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
  "browserInfo": {
    "name": "Firefox",
    "vendor": "LibreWolf",
    "version": "115.0.2-2",
    "buildID": "20230712143257"
  },
  "platformInfo": {
    "os": "linux",
    "arch": "x86-64"
  },
  "storage.sync": {
    "debug.ElementManager.ATTRIBUTES_CLICKABLE": [
      "aria-checked",
      "aria-selected",
      "data-dismiss",
      "data-ember-action",
      "data-image-url",
      "data-line-number",
      "data-permalink-path"
    ],
    "css": ".root {\n    /* https://github.com/lydell/LinkHints/issues/82 */\n    text-shadow: initial;\n}",
    "hints.shift-Enter": "ActivateHint",
    "debug.ElementManager.ROLES_CLICKABLE": [
      "button",
      "checkbox",
      "link",
      "menuitem",
      "menuitemcheckbox",
      "menuitemradio",
      "option",
      "radio",
      "searchbox",
      "spinbutton",
      "switch",
      "tab",
      "textbox"
    ],
    "normal.ctrl-j": "EnterHintsMode_Click",
    "normal.ctrl-k": "EnterHintsMode_BackgroundTab",
    "normal.ctrl-J": "EnterHintsMode_ManyClick",
    "normal.ctrl-K": "EnterHintsMode_ManyTab",
    "normal.ctrl-L": "EnterHintsMode_Select",
    "normal.ctrl-:": "EnterHintsMode_ForegroundTab",
    "hints.ctrl-Enter": "ActivateHintAlt",
    "hints.shift-Backspace": "Backspace",
    "debug.ElementManager.REGEX_CLICKABLE_CLASS": "\\bcm-|ͼ|\\bmtk|sparkline-year-label|js-wiki-toggle-collapse"
  },
  "storage.local": {
    "tutorialShown": true
  },
  "language": "en-US"
}
@lydell lydell added the bug label Nov 27, 2023
@lydell lydell closed this as completed in 0df3336 Aug 18, 2024
@lydell lydell mentioned this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants