remove hardcoded iframe domain whitelist, make iframe script whitelisting configurable by plugins (HOOK_IFRAME_WHITELISTED)

This commit is contained in:
Andrew Dolgov
2019-11-27 11:52:51 +03:00
parent e5b7b145e5
commit d15f0349bf
2 changed files with 3 additions and 4 deletions

View File

@@ -61,6 +61,7 @@ class PluginHost {
const HOOK_GET_FULL_TEXT = 41;
const HOOK_ARTICLE_IMAGE = 42;
const HOOK_FEED_TREE = 43;
const HOOK_IFRAME_WHITELISTED = 44;
const KIND_ALL = 1;
const KIND_SYSTEM = 2;