Browse Source

Adblocker statistics (pro feature)

Amauri CHAMPEAUX 10 years ago
parent
commit
4e63203bc2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tarteaucitron.js

+ 4 - 0
tarteaucitron.js

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