Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

html change content security policy

<!doctype html>
<head>
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
  <meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
  <meta http-equiv="X-WebKit-CSP" content="default-src 'self'; script-src 'self'">
  <title>CSP nutzende Seite</title>
</head>
<body>
  <h1>Sie sind sicher</h1>
  <p>Dieses Dokument wurde mit einer sehr strikt eingestellten Content Security Policy ausgeliefert.</p>
</body>
</html>
Comment

Content security policy (csp) javascript

default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';base-uri 'self';form-action 'self'
Comment

PREVIOUS NEXT
Code Example
Javascript :: base64 to pdf in replace nodejs 
Javascript :: js convert object to array 
Javascript :: react native swiper 
Javascript :: js math random 
Javascript :: scroll bar disappears after closing modal 
Javascript :: http request node.js 
Javascript :: nodejs fs writefile base64url 
Javascript :: how to run socket.io server 
Javascript :: javascript return first match in array 
Javascript :: js object getter 
Javascript :: add an object to index 0 array js 
Javascript :: history javascript 
Javascript :: how to remove console.log from react native app 
Javascript :: sort by attribute in reactjs 
Javascript :: on hover display block jquery 
Javascript :: how to set css in hbs 
Javascript :: send multipart form data axios with node js 
Javascript :: angular input 
Javascript :: angular httpclient post body 
Javascript :: http module nodejs 
Javascript :: JavaScript String endsWith() examples 
Javascript :: check data type in js 
Javascript :: send data using fetch 
Javascript :: javascript classlist to array 
Javascript :: js origin without port 
Javascript :: getmonth js 
Javascript :: monaco editor get value 
Javascript :: mometjs 
Javascript :: json to pdf javascript 
Javascript :: datatables and toggle not working 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =