소스 검색

Adblocker statistics (pro feature)

Amauri CHAMPEAUX 10 년 전
부모
커밋
4e63203bc2
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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);
                 }