Hi Everyone!
I have a very weird UI thing happening with my Wikipedia Viewer project. I’m using ReactJs, and for the purposes of prototyping am also running a Node/ExpressJs backend. The issue is this: On Mac OSX in Firefox and Safari, the head of my rendered html looks like this:
<head>
<title>Wikipedia Dark Reader</title>
<link rel="stylesheet".../>
<link rel="stylesheet".../>
<link rel="stylesheet".../>
<head>
This displays everything as expected. However, on Chrome, the head of my rendered html looks like:
<head>
<title>Wikipedia Dark Reader</title>
<link rel="stylesheet".../>
<link rel="stylesheet".../>
<link rel="stylesheet".../>
<style>
@media screen {
/* Leading rule */
html {
-webkit-filter: brightness(110%) contrast(90%) grayscale(20%) sepia(10%) !important;
}
/* Text contrast */
html {
text-shadow: 0 0 0 !important;
}
/* Full screen */
*:-webkit-full-screen, *:-webkit-full-screen * {
-webkit-filter: none !important;
}
/* Page background */
html {
background: rgb(255,255,255) !important;
}
}
<head>
Does anyone know why Chrome would be creating this additional <style>
tag? If so, do you also know how to control its content?
Thank you!
Kyle