Avoid Coffeescript returning list comprehension.
This commit is contained in:
parent
83f1d4ca01
commit
3fd621cf1d
@ -27,4 +27,5 @@ AntiAutoplay =
|
||||
for iframe in $$ 'iframe[src*="youtube"][src*="autoplay=1"]', root
|
||||
iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '')
|
||||
for object in $$ 'object[data*="youtube"][data*="autoplay=1"]', root
|
||||
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '')
|
||||
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '')
|
||||
return
|
||||
Loading…
x
Reference in New Issue
Block a user