diff --git a/html/json/index.php b/html/json/index.php
index ada1e70..b7b35af 100755
--- a/html/json/index.php
+++ b/html/json/index.php
@@ -34,6 +34,11 @@ else
$starappend = 0;
$startID = 0;
+
+ if(isset($_REQUEST['nsfw']))
+ {
+ $worksafe = false;
+ }
if (!isset($_REQUEST['o']))
{