Skip to content

Old frames in a frameset and instant inject mode? #2161

Description

@krystian3w

Description

It seems to me that the version of the add-on recently uploaded to the Mozilla Add-ons Store has some sort of regression when it comes to inserting code into <frame>s (I can see this in our company’s application on an ancient <frameset>, shortly after logging in, and even a gentle F5 seems to help a bit).

Unless, of course, I can missed it in an earlier release because I don’t often visit other domains.

As for other add-ons, I think only uBO might cause problems with its cap_user_stylesheet based on tabs.insertCSS.

System Information

  • OS: Windows 7
  • Browser: E3kfox 151.0.2
  • Stylus Version: 2.4.2

This may be a bug specific to this fork or to Windows 7, which might not be worth fixing. I’m not really sure how to correctly test the company’s app on my home computer, which runs Windows 10 and the official Firefox 152.0.4.

Screenshots, links, CSS

N/A x2

@-moz-document url-prefix("https://domain1.pl/path/menu.php"), url-prefix("https://domain2.pl/path/menu.php"), url-prefix("https://domain3.pl/path/menu.php") {
/* Attention - Staging/Production server! */
@media screen and (width >=500px) {
    body::before {
        content: "Attention - Staging/Production server!";
        position: fixed;
        font-size: 26px;
        font-weight: bold;
        color: red;
        padding: 0;
        margin: 0;
        top: 22px;
        left: 84px
    }
}

html,
body {
    background-color: #ffebeb
}
}

This CSS is nearly 10 years old (ignoring migration to short CSS media queries - I think I only implemented that one about three years ago (I wasn’t aware of it in 2018)).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions