diff --git a/resources/at_document_start.js b/resources/at_document_start.js index 67da273..7f013b0 100644 --- a/resources/at_document_start.js +++ b/resources/at_document_start.js @@ -12,7 +12,8 @@ NodeList.prototype.forEach = Array.prototype.forEach; counter_total = 0; query = [ - '[href]:not([href=""]):not([href^="#"]):not([href*="void("])[onmousedown*="rwt("]' // Google + '[href]:not([href=""]):not([href^="#"]):not([href*="void("])[onmousedown*="rc("]' // Yandex +, '[href]:not([href=""]):not([href^="#"]):not([href*="void("])[onmousedown*="rwt("]' // Google , '[href]:not([href=""]):not([href^="#"]):not([href*="void("])[jsaction*="mousedown"][jsaction*="keydown"]' , '[href]:not([href=""]):not([href^="#"]):not([href*="void("])[onmousedown*="window.open("]' // other (very common) , '[href]:not([href=""]):not([href^="#"]):not([href*="void("])[onmousedown*="self.open("]' @@ -90,4 +91,4 @@ function action(){ } try { action(); } catch(err){} -try { interval_id = setInterval(action, 500); } catch(err) { clearInterval(interval_id); } // only available in pages having JS-support \ No newline at end of file +try { interval_id = setInterval(action, 500); } catch(err) { clearInterval(interval_id); } // only available in pages having JS-support