File: csp-nonce.js

package info (click to toggle)
node-jquery 3.7.1%2Bdfsg%2B~3.5.33-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,948 kB
  • sloc: javascript: 38,612; php: 223; xml: 36; makefile: 14
file content (8 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
/* global startIframeTest */

jQuery( function() {
	var script = document.createElement( "script" );
	script.setAttribute( "nonce", "jquery+hardcoded+nonce" );
	script.innerHTML = "startIframeTest()";
	$( document.head ).append( script );
} );