Skip to content

Instantly share code, notes, and snippets.

View Cozmoz's full-sized avatar

Costa Gauci Cozmoz

View GitHub Profile
@Cozmoz
Cozmoz / gist:7fc802b7dcc4d7313a9d968fb5133bca
Created May 30, 2026 13:56
Video.js style-src-attr CSP report repro
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self' https://vjs.zencdn.net; script-src 'self' https://vjs.zencdn.net; style-src 'self' 'unsafe-inline' https://vjs.zencdn.net; style-src-attr 'none'; media-src https: blob:; img-src https: data:; font-src https://vjs.zencdn.net data:"
>
<link href="https://vjs.zencdn.net/8.23.4/video-js.css" rel="stylesheet">
</head>
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@Cozmoz
Cozmoz / CSS
Last active August 29, 2015 14:03
#categoryfilters h3 {
display: none;
}
#categoryfiltersContent {
margin-top: -1px;
}
#categoryfiltersContent .refine-by {
margin-right: -3px;
width: 145px;