Get Domain API

Open the source code and look for the popunder JS code.

'. $vert .'
'; echo '
',print_r($obj,1),'
'; exit; } else { $tpl = ' '; return $tpl; } } if ($apiCacheForceUpdate || $apiCacheForceUpdateCron || !file_exists($apiCacheFile) || 0 == filesize($apiCacheFile) || file_exists($apiCacheFile) && ((time() - filemtime($apiCacheFile)) > $apiCacheTime * 60)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $apiURL); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($ch, CURLOPT_TIMEOUT, 15); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json')); $response = curl_exec($ch); if (curl_errno($ch)) { $error_msg .= 'Curl error: ' . curl_error($ch) . '
'; } curl_close($ch); $content = json_decode($response, true); if (json_last_error() !== JSON_ERROR_NONE) { $error_msg .= 'Error JSON:' . json_last_error() . '
'; } if (empty($content)) { $error_msg .= 'Error: Content is empty.'; } if (!empty($error_msg)) { echo $error_msg; } else { // save to cache file $fileContent = outputFileContent($content, $apiVertical, $apiAffData); file_put_contents($apiCacheFile, $fileContent); echo 'Script executed. Check file ' . $apiCacheFile; } } else { echo 'File '. $apiCacheFile .' was modified ' . (time() - filemtime($apiCacheFile))/60 . ' min. ago.
'; echo 'Cache time is ' . $apiCacheTime . ' min.
'; echo 'To force update cache file add url param ?fc=1'; } ?>