mirror of https://github.com/gorhill/uBlock.git
`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
|
# https://news.ycombinator.com/item?id=10814913
|
||||||
forbes-defuser.js application/javascript
|
forbes-defuser.js application/javascript
|
||||||
(function() {
|
(function() {
|
||||||
if ( !window.location.pathname.startsWith('/forbes/welcome/') ) {
|
if ( window.location.pathname.lastIndexOf('/forbes/welcome/', 0) !== 0 ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var noopfn = function() {
|
var noopfn = function() {
|
||||||
|
|
Loading…
Reference in New Issue