mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
startsWith not available prior to Chromium 41
This commit is contained in:
parent
829b7df86e
commit
24436b5d40
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue