Skip to content

CSS toggle not working on localhost or 127.0.0.1 #35

@equal-l2

Description

@equal-l2

Toggling UserCSS on addon menu won't rendered unless I reload the page, for localhost or 127.0.0.1 .
(In other words, toggling off UserCSS not rendered dynamically on page but after reloading the CSS will be successfully disabled)

UserCSS:

/*
==UserCSS==
@name             localhost-test
@match            *://localhost/*
@match            *://127.0.0.1/*
@version          1.0
==/UserCSS==
*/

.test-style {
  font-weight: bold
}

HTML:

<!DOCTYPE html>
<html>
    <p class="test-style">Hello, World!</p>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions