Przeglądaj źródła

Adblocker statistics (pro feature)

Amauri CHAMPEAUX 10 lat temu
rodzic
commit
4e63203bc2
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      tarteaucitron.js

+ 4 - 0
tarteaucitron.js

@@ -289,9 +289,13 @@ var tarteaucitron = {
                             html += '       ' + tarteaucitron.lang.reload;
                             html += '   </span>';
                             html += '</div>';
+                            html += '<div id="tarteaucitronPremium"></div>';
                             div.id = 'tarteaucitronRoot';
                             body.appendChild(div, body);
                             div.innerHTML = html;
+                            tarteaucitron.pro('!adblocker=true');
+                        } else {
+                            tarteaucitron.pro('!adblocker=false');
                         }
                     }, 1500);
                 }