diff --git a/docs/index.md b/docs/index.md index 349b66c..b4f4e54 100644 --- a/docs/index.md +++ b/docs/index.md @@ -111,9 +111,6 @@ poki_sdk.set_debug(value) -- in JS it's PokiSDK.setDebug(value) poki_sdk.capture_error(error_string) -- in JS it's PokiSDK.captureError(error_string) poki_sdk.shareable_url(params, callback) -- in JS it's PokiSDK.shareableURL({}).then(url => {}) local value = poki_sdk.get_url_param(key) -- in JS it's PokiSDK.getURLParam('id') - --- Also, it's possible to check if AdBlock is active. -poki_sdk.is_ad_blocked() ``` diff --git a/poki-sdk/api/poki-sdk.script_api b/poki-sdk/api/poki-sdk.script_api index 2500857..1416150 100755 --- a/poki-sdk/api/poki-sdk.script_api +++ b/poki-sdk/api/poki-sdk.script_api @@ -77,8 +77,3 @@ #***************************************************************************************************** - - name: is_ad_blocked - type: function - -#***************************************************************************************************** - diff --git a/poki-sdk/lib/web/lib_pokisdk.js b/poki-sdk/lib/web/lib_pokisdk.js index 98122c2..8aa861d 100644 --- a/poki-sdk/lib/web/lib_pokisdk.js +++ b/poki-sdk/lib/web/lib_pokisdk.js @@ -63,7 +63,8 @@ var LibPokiSdk = { }, PokiSdkJs_IsAdBlocked: function() { - return PokiSDK.isAdBlocked(); + console.log("poki_sdk.is_ad_blocked() is deprecated."); + return false; }, PokiSdkJs_AddParameterForURL: function(key, value) {