Disable injected stylesheets

Hi
When testing a webapp (bootstrapped with the ares package) in an old emulator (webOS 6 Simulator 1.3), I am getting some injected stylesheets and was wondering if there’s a way to disable them

One of them is:

  • {
    font-weight: 400 !important;
    //… other stuff
    }
1 Like

We are not sure exactly what problem you are getting, but you can redefine CSS with higher specificity than the original. Precedence over third-party CSS will be helpful. Thank you.

Hello,

can you provide an example how to use the layers to override stylesheets that WebOS injects to the app?

I see quite a lot of injected stylesheets that are overriding other CSS in my app, for example this:
image

Thank you

webOS TV do not restrict the font of apps. Please make sure your fonts are referred to relative to the location of the index.html file. You can find more information in Fonts. Thank you.