Jump to content

Translations:On Response/9/en: Difference between revisions

From Wiki Kaminari Click
FuzzyBot (talk | contribs)
Importing a new version from external source
FuzzyBot (talk | contribs)
Importing a new version from external source
 
Line 6: Line 6:
     } else if (response.fraud == 1) {
     } else if (response.fraud == 1) {
         // bot
         // bot
        // response.reason: Spoofing, Automated, Crawler, Bad reputation IP, Incorrect requests
         window.location = 'some.url';
         window.location = 'some.url';
     } else {
     } else {
         // not a bot
         // not a bot
        // response.reason: ""
         showAd();
         showAd();
     }
     }
}
}
</pre>
</pre>

Latest revision as of 15:04, 3 November 2026

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (On Response)
<pre>
function(response) {
   if (response.block == 1) {
       // blocked click
       window.location = 'some.url';
   } else if (response.fraud == 1) {
       // bot
       // response.reason: Spoofing, Automated, Crawler, Bad reputation IP, Incorrect requests
       window.location = 'some.url';
   } else {
       // not a bot
       // response.reason: ""
       showAd();
   }
}
</pre>
function(response) {
    if (response.block == 1) {
        // blocked click
        window.location = 'some.url';
    } else if (response.fraud == 1) {
        // bot
        // response.reason: Spoofing, Automated, Crawler, Bad reputation IP, Incorrect requests
        window.location = 'some.url';
    } else {
        // not a bot
        // response.reason: ""
        showAd();
    }
}