mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Web: Allow configuring higher peekSize on Youtube
This commit is contained in:
parent
009b900100
commit
2cfc821203
@ -154,7 +154,7 @@ class Web(callbacks.PluginRegexp):
|
|||||||
if parsed_url.netloc == 'youtube.com' \
|
if parsed_url.netloc == 'youtube.com' \
|
||||||
or parsed_url.netloc.endswith(('.youtube.com')):
|
or parsed_url.netloc.endswith(('.youtube.com')):
|
||||||
# there is a lot of Javascript before the <title>
|
# there is a lot of Javascript before the <title>
|
||||||
size = 409600
|
size = max(409600, size)
|
||||||
if parsed_url.netloc in ('reddit.com', 'www.reddit.com', 'new.reddit.com'):
|
if parsed_url.netloc in ('reddit.com', 'www.reddit.com', 'new.reddit.com'):
|
||||||
# Since 2022-03, New Reddit has 'Reddit - Dive into anything' as
|
# Since 2022-03, New Reddit has 'Reddit - Dive into anything' as
|
||||||
# <title> on every page.
|
# <title> on every page.
|
||||||
|
Loading…
Reference in New Issue
Block a user