Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82271

Content-Security-Policy he page’s settings blocked an inline style (style-src-elem)

$
0
0

Hello Team

I have use button in my project and i am facing CSP error on console.
This error no have come on Google Chrome, Its come on Mozila firefox.

Content-Security-Policy: The page’s settings blocked an inline style (style-src-elem) from being applied because it violates the following directive: “style-src data: 'self' 'sha256-AYX9LcD+ZVnIyi960/84yJ022Bo0UuLwe7cK7b2YKDo=' 'sha256-WAyOw4V+FqDc35lQPyRADLBWbuNK8ahvYEaQIYF1+Ps=' 'nonce-c3LGr6m5X5SHPhNKGZb1oqzzXiy8E/361VnZjXgdTEM=' 'unsafe-inline'”

I got the solution in this file
./node_modules/datatables.net-buttons/js/buttons.print.js

So kindly check this.
Thanks


Viewing all articles
Browse latest Browse all 82271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>