sindresorhus/refined-github

Do you want to work on this issue?

You can request for a bounty in order to promote it!

The user’s CSS is injected before Refined GitHub’s #4731

fregante posted onGitHub

The CSS field in the options is supposed to be used as overrides to Refined GitHub's styles but it's actually injected earlier than RG's, so RG ends up overriding it instead.

We need to find alternative solutions for the injection. For example:

  • how does Stylus inject them?
  • can it be registered via contentScript.register()? Does the behavior differ in Chrome's polyfill?
  • is there any new way to register stylesheets? For example some CSSOM api

* how does Stylus inject them?

Ostensibly in the same way — because it has exactly the same result, i.e. doesn't work either. Screenshot:

css2

posted by eqvinox over 3 years ago

Wow. Thanks for checking and for the screenshot!

posted by fregante over 3 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests