mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
startsWith
not available prior to Chromium 41
This commit is contained in:
parent
829b7df86e
commit
24436b5d40
@ -446,7 +446,7 @@ pornhub-popup-defuser.js application/javascript
|
||||
# https://news.ycombinator.com/item?id=10814913
|
||||
forbes-defuser.js application/javascript
|
||||
(function() {
|
||||
if ( !window.location.pathname.startsWith('/forbes/welcome/') ) {
|
||||
if ( window.location.pathname.lastIndexOf('/forbes/welcome/', 0) !== 0 ) {
|
||||
return;
|
||||
}
|
||||
var noopfn = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user