如何在Drupal的HTML净化器模块中添加“ javascript” URL方案? [英] How do I add 'javascript' url scheme in HTML purifier module in Drupal?
本文介绍了如何在Drupal的HTML净化器模块中添加“ javascript” URL方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何在drupal的HTML净化器模块中为URI.AllowedSchemes添加URI.AllowedSchemes?
How can I can add the "javascript:xyz" url format for the URI.AllowedSchemes in HTML purifier module in drupal ?
我想这是文件应该修改 URI.AllowedSchemes 还是我需要进行其他任何配置更改。这是供网站主持人发布的书签,并且不会向外界公开。
I suppose this is the file I should modify URI.AllowedSchemes or is there any other config change I need to make. This is for the site moderator to publish bookmarklets and will not be exposed to outside world.
推荐答案
http://htmlpurifier.org/docs/enduser-uri-filter.html
这篇关于如何在Drupal的HTML净化器模块中添加“ javascript” URL方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文