HeadJS and JSON

The JSON is marked "external" for good reason. There is no good way to
scan JavaScript for JSON, so this only marks external files/URLs. PLEASE
CHECK MY REGEX! This is my first big attempt.
main
DaAwesomeP 11 years ago
parent 2dae565171
commit 15ec98a9bc

@ -1175,6 +1175,12 @@
"cats": [ 12 ], "cats": [ 12 ],
"env": "^Handlebars$" "env": "^Handlebars$"
}, },
"HeadJS": {
"website": "headjs.com",
"cats": [ 12 ],
"script": "head.*\\.js",
"env": "^head$"
},
"Hello Bar": { "Hello Bar": {
"website": "hellobar.com", "website": "hellobar.com",
"cats": [ 5 ], "cats": [ 5 ],
@ -1452,6 +1458,14 @@
"script": "jscharts.*\\.js", "script": "jscharts.*\\.js",
"env": "^JSChart$" "env": "^JSChart$"
}, },
"JSON (External File)": {
"website": "json.org",
"cats": [ 27, 34 ],
"headers": { "Content-Type": ".*(application\\/JSON|text\\/JSON).*" },
"script": ".*\\.json",
"html": "<.*src=(\"|').*\\.json(\"|').*>",
"url": ".*\\.json"
},
"JTL Shop": { "JTL Shop": {
"website": "www.jtl-software.de/produkte/jtl-shop3", "website": "www.jtl-software.de/produkte/jtl-shop3",
"cats": [ 6 ], "cats": [ 6 ],
@ -3327,4 +3341,4 @@
"html": "<link[^>]+foundation[^>\"]+css" "html": "<link[^>]+foundation[^>\"]+css"
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB