zhugesong / csp-viz Goto Github PK
View Code? Open in Web Editor NEWContent Security Policy Visualizer
Home Page: https://zhugesong.github.io/csp-viz/csp-viz.html
Content Security Policy Visualizer
Home Page: https://zhugesong.github.io/csp-viz/csp-viz.html
The page has next to no styling, but could use some to avoid looking utterly bland.
Sure, the README has them and I'd like to think it is fairly intuitive, but ideally the page should stand on its own since it has no links anywhere in case you don't already know how to use it.
When using this tool you are probably dealing with a longer CSP string, and the input field is fairly small. This means there is almost no chance the string will be visible in its entirety, making it annoying to edit.
For example, if font-src
is not specified explicitly in the CSP, it takes its sources from default-src
. The table should show that, or not show that column at all. As it is, the table incorrectly shows that font-src
has no sources allowed when it is not specified.
In the code there are a few places commented as making assumptions; it would be nice to print those out as a visible warning. This issue doesn't mean I will implement a full-blown CSP parser at this point.
This could be via the query string, fragment, or whatever. Would be nice to be able to link to a specific instance of the page and also navigate back/forwards through previous inputs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.