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

no-scripting: behind-the-scene false sticks even after restoring uBO from a config where it's not present #494

Closed
uBlock-user opened this issue Mar 29, 2019 · 0 comments
Labels
bug Something isn't working fixed issue has been addressed

Comments

@uBlock-user
Copy link
Contributor

Description

no-scripting: behind-the-scene false appears in my rules when restoring uBO's configuration where it's not present.

Steps to Reproduce

  • Open My Rules and delete no-scripting: behind-the-scene false if present, now take a backup of uBO configuration or use mine--https://mega.nz/#!pNIVyaxS!lC0JN_sQewZI48wgyJuZH2c6iRo6jzDTJAjodBwYpAs

  • Restore uBO configuration from the backup you took or use mine from the aformentioned link

  • Open My Rules in dashboard and notice no-scripting: behind-the-scene false even though it's not present in the uBO config from which we restored the configuration.

Alternative STR by @gwarser -- https://github.com/orgs/uBlockOrigin/teams/ublock-issues-volunteers/discussions/85/comments/2

Expected behavior:

no-scripting: behind-the-scene false doesn't appear in My Rules when it was not present in the uBO config.

Actual behavior:

no-scripting: behind-the-scene false appears in My Rules even when it was not present in the uBO config.

Your environment

  • uBlock Origin version: 1.18.13b0
  • Browser Name and version: Chromium 75/Firefox 68
  • Operating System and version: Win 10
@uBlock-user uBlock-user added the bug Something isn't working label Mar 29, 2019
@uBlock-user uBlock-user changed the title no-scripting: behind-the-scene false sticks even after reloading from a config where it's not present no-scripting: behind-the-scene false sticks even after restoring uBO from a config where it's not present Mar 29, 2019
gorhill added a commit to gorhill/uBlock that referenced this issue May 18, 2019
Related issue:
- uBlockOrigin/uBlock-issues#214

Built-in whitelist directives are now rendered differently
than user-defined whitelist directives. Also, removing a
built-in whitelist directive will only cause that directive
to be commented out, so that users do not have to remember
built-in directives should they want to bring them back.

Related issue:
 uBlockOrigin/uBlock-issues#494

The built-in per-site switch rule
`no-scripting: behind-the-scene false` has been removed,
it should not ever be needed since there will always be a
valid root context for main- and sub-frames.
@uBlock-user uBlock-user added the fixed issue has been addressed label May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed issue has been addressed
Projects
None yet
Development

No branches or pull requests

1 participant