fix url not open in new tab
This commit is contained in:
parent
fb600d6fc8
commit
ba09a065f2
|
@ -435,6 +435,8 @@ class Filter:
|
|||
link['href'] = 'https://google.com' + q
|
||||
elif link['href'].startswith('/url'):
|
||||
link['href'] = q
|
||||
if self.config.new_tab:
|
||||
link['target'] = '_blank'
|
||||
elif q.startswith('https://accounts.google.com'):
|
||||
# Remove Sign-in link
|
||||
link.decompose()
|
||||
|
|
Loading…
Reference in New Issue
Block a user