term.js icon indicating copy to clipboard operation
term.js copied to clipboard

Support Content-Security-Policy without inline styles

Open stefwalter opened this issue 9 years ago • 0 comments

When Content-Security-Policy is strictly enforced in browsers, one cannot have inline javascript (in HTML) or inline styles in the HTML style attributes.

This commit makes term.js work with these newer security measures.

To enable set 'Terminal.useStyle' and include a relevant stylesheet in the hosting project's CSS files.

stefwalter avatar Mar 10 '16 10:03 stefwalter