broulik created this revision. broulik added reviewers: Plasma, davidedmundson, fvogt. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY You cannot access cssRules for <link rel="stylesheet" ..> on a different domain since Chrome 64. Since our `chrome-extension://` URL for a stylesheet would be on a different domain than the website, this can lead to problems in e.g. modernizr, so include the `<style>` inline instead. TEST PLAN No longer get `Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules` on some websites Scroll bars still look pretty REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D17169 AFFECTED FILES extension/breeze-scroll-bars.css extension/content-script.js extension/manifest.json To: broulik, #plasma, davidedmundson, fvogt Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart