NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name AD Click Bypass tarefet.com // @version 0.0.2 // @description עוקף את הצורך ללחיצה על הפרסומת על מנת לצפות בתוכן // @copyright 2018, securem3 (https://openuserjs.org/users/securem3) // @license MIT // @updateURL https://openuserjs.org/meta/securem3/AD_Click_Bypass_tarefet.com.meta.js // @author securem3 // @match *://www.tarefet.com/*/ // @include *://www.tarefet.net/*/ // ==/UserScript== // Changelog: // 0.0.2 - Domain update. (function () { 'use strict'; function setCookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = "expires=" + d.toUTCString(); document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; } function getCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } window.addEventListener('load', function () { var gokdl = getCookie("isclck"); if (gokdl != "true") { setCookie("isclck", true); location.reload(); } }, false); })();