From 00f8a62c3bc4dc3a1377ee283bb0b7a50d4df470 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Tue, 15 Feb 2022 00:10:55 +0300 Subject: [PATCH] notes - disallow iframe actions --- index.css | 5 +++++ modules/markers-generator.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/index.css b/index.css index f85ba873..ed81773f 100644 --- a/index.css +++ b/index.css @@ -2067,6 +2067,11 @@ div.textual span, overflow: auto; } +#notesBody > iframe { + pointer-events: none; + user-select: none; +} + #notesBody p { margin: 4px; } diff --git a/modules/markers-generator.js b/modules/markers-generator.js index 1aefca5e..50acf34d 100644 --- a/modules/markers-generator.js +++ b/modules/markers-generator.js @@ -519,7 +519,7 @@ window.Markers = (function () { const dungeonSeed = `${seed}${cell}`; const name = "Dungeon"; - const legend = `
Undiscovered dungeon. See One page dungeon
`; + const legend = `
Undiscovered dungeon. See One page dungeon
`; notes.push({id, name, legend}); quantity--; }