https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/replaceSync
CSSStyleSheet: replaceSync() method - Web APIs | MDN
The replaceSync() method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.
web apismethodmdn
https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/replaceSync?ref=blog.teknkl.com
CSSStyleSheet: replaceSync() method - Web APIs | MDN
The replaceSync() method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.
web apismethodmdn