You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that Chrome Extensions are not allowed to run any inline functions and as a result if throws an exception on this line. Is there any way to disable the onload from being added? I couldn't figure out what Webpack plugin this is coming from.
Another issue I'm facing is even if I remove that onload and the css is loaded, the fonts are not rendering. I have custom fonts in the CSS file and I import the css file in my app.tsx. I see that the css is being loaded but after the app renders, Chrome chooses not to render it. If I add some static html with the font-family to the index.html, then Chrome decides to load the font.
If the current behaviour is a bug, please provide the steps to reproduce.
I can provide a sample repo if anyone wants to look into this further
What is the expected behaviour?
If this is a feature request, what is motivation or use case for changing the behaviour?
Do you want to request a feature or report a bug?
Need help
What is the current behaviour?
I am trying to build a chrome extension but I'm stuck with the following problem:
Preact is injecting the following line
The problem is that Chrome Extensions are not allowed to run any inline functions and as a result if throws an exception on this line. Is there any way to disable the
onload
from being added? I couldn't figure out what Webpack plugin this is coming from.Another issue I'm facing is even if I remove that
onload
and the css is loaded, the fonts are not rendering. I have custom fonts in the CSS file and I import the css file in my app.tsx. I see that the css is being loaded but after the app renders, Chrome chooses not to render it. If I add some static html with thefont-family
to theindex.html
, then Chrome decides to load the font.If the current behaviour is a bug, please provide the steps to reproduce.
I can provide a sample repo if anyone wants to look into this further
What is the expected behaviour?
If this is a feature request, what is motivation or use case for changing the behaviour?
onload
shouldn't be added and fonts should load!Please mention other relevant information.
The text was updated successfully, but these errors were encountered: