PushLine.com

    Turn Your Traffic into Profit!

 

TimeZone Display Content Filter

This script allows you to display selected items or ads only for america customers

Script get Timezone from clients browser and checks it against america timezones
Your TimeZone is: , US TimeZones is 4-9

Script:

<script> var now=new Date();var tz=now.getTimezoneOffset()/60; if(tz>3 && tz<10) document.write('THIS DATA WILL BE DISPLAYED ONLY TO CUSTOMERS FROM AMERICA'); </script>

Result:

Same but with iframe generation: ( real life example )
Script:

<script> var now=new Date();var tz=now.getTimezoneOffset()/60; if(tz>3 && tz<10) document.write('<iframe frameborder=0 width=265 height=86 src=http://test.pushline.com/export.php/ct?idcountry=161></iframe>'); </script>

Result:

ps. please note, that all javascript exports can provide America content filtering by default.
Copyright © 2002 - 2012 Comfi.com Partner Program