D17169: Include Breeze scrollbar CSS inline

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Nov 26 08:48:51 GMT 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181126/743b30af/attachment.html>


More information about the Plasma-devel mailing list