mirror of
https://github.com/zotero/zotero.git
synced 2026-09-10 22:41:08 +00:00
Block JS and media loading in reports
This commit is contained in:
parent
0633f0191b
commit
d05fd69fc2
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ Zotero.Report.HTML = new function () {
|
|||
+ '<html>\n'
|
||||
+ ' <head>\n'
|
||||
+ ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n'
|
||||
+ ' <meta http-equiv="Content-Security-Policy" content="script-src \'none\'; media-src \'none\'" />\n'
|
||||
+ ' <title>' + Zotero.getString('report.title.default') + '</title>\n'
|
||||
+ ' <link rel="stylesheet" type="text/css" href="' + _getCSSDataURI('detail') + '"/>\n'
|
||||
+ ' <link rel="stylesheet" type="text/css" media="screen,projection" href="' + _getCSSDataURI('detail_screen') + '"/>\n'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue