Jump to content

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

From Wiki Kaminari Click
No edit summary
No edit summary
 
Line 2: Line 2:
function(response) {
function(response) {
     if (response.block == 1) {
     if (response.block == 1) {
         // blocked click
         // показ заблокирован
         window.location = 'some.url';
         window.location = 'some.url';
     } else if (response.fraud == 1) {
     } else if (response.fraud == 1) {
         // bot
         // бот
        // response.reason: Spoofing, Automated, Crawler, Bad reputation IP, Incorrect requests
         window.location = 'some.url';
         window.location = 'some.url';
     } else {
     } else {
         // not a bot
         // не бот
        // response.reason: ""
         showAd();
         showAd();
     }
     }
}
}
</pre>
</pre>

Latest revision as of 15:07, 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) {
        // показ заблокирован
        window.location = 'some.url';
    } else if (response.fraud == 1) {
        // бот
        // response.reason: Spoofing, Automated, Crawler, Bad reputation IP, Incorrect requests
        window.location = 'some.url';
    } else {
        // не бот
        // response.reason: ""
        showAd();
    }
}