host = $host;
		$host->add_hook($host::HOOK_RENDER_ARTICLE, $this);
		$host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this);
		$host->add_hook($host::HOOK_PREFS_TAB, $this);
	}
	function get_js() {
		return file_get_contents(dirname(__FILE__) . "/init.js");
	}
	function hook_render_article($article) {
		$tags = array_map("trim", explode(",", $this->host->get($this, "tags")));
		$a_tags = array_map("trim", explode(",", $article["tag_cache"]));
		if (count(array_intersect($tags, $a_tags)) > 0) {
			$article["content"] = "
				".$article["content"]."
 ";
		}
		return $article;
	}
	function hook_render_article_cdm($article) {
		$tags = array_map("trim", explode(",", $this->host->get($this, "tags")));
		$a_tags = array_map("trim", explode(",", $article["tag_cache"]));
		if (count(array_intersect($tags, $a_tags)) > 0) {
			$article["content"] = "
				".$article["content"]."
 ";
		}
		return $article;
	}
	function hook_prefs_tab($args) {
		if ($args != "prefPrefs") return;
		print "extension ".__("NSFW Plugin")."\">";
		print "
";
		$tags = $this->host->get($this, "tags");
		print "
";
			print "