mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
* Allow regex in blacklist fixes #167 #542 * Added protection against invalid regex causing failed initialization * Added regex input validation
This commit is contained in:

committed by
Ilya Grigorik

parent
c4a26e3da2
commit
ac7471edfc
@@ -109,7 +109,12 @@
|
||||
<input id="controllerOpacity" type="text" value="">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="blacklist">Blacklisted sites on which extension is disabled<br/>(one per line)</label>
|
||||
<label for="blacklist">Blacklisted sites on which extension is disabled<br/>
|
||||
(one per line)<br/>
|
||||
<br/>
|
||||
<em><a href="https://www.regexpal.com/">Regex</a> is supported. Be sure it is in "//g" format.<br/>
|
||||
ie: /(.+)youtube\.com(\/*)$/gi</em>
|
||||
</label>
|
||||
<textarea id="blacklist" rows="10" cols="50"></textarea>
|
||||
</div>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user