mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
o
This commit is contained in:
parent
ef221a49bc
commit
a5f57911a5
2 changed files with 6 additions and 6 deletions
|
@ -999,9 +999,9 @@ def search():
|
||||||
}
|
}
|
||||||
#chat_talk {
|
#chat_talk {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 30vh;
|
max-height: 30vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: scroll;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
#iframe-wrapper {
|
#iframe-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -1188,6 +1188,7 @@ function proxify()
|
||||||
if(document.querySelector("#fnref\\:"+String(i+1)))
|
if(document.querySelector("#fnref\\:"+String(i+1)))
|
||||||
{
|
{
|
||||||
let tmp_url = document.querySelector("#fnref\\:"+String(i+1)).href
|
let tmp_url = document.querySelector("#fnref\\:"+String(i+1)).href
|
||||||
|
if(!tmp_url||!prompt.url_proxy[tmp_url]) continue;
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).addEventListener('click', function () {modal_open(prompt.url_proxy[tmp_url],i+1); modal.style.display = 'block'; });
|
document.querySelector("#fnref\\:"+String(i+1)).addEventListener('click', function () {modal_open(prompt.url_proxy[tmp_url],i+1); modal.style.display = 'block'; });
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('href')
|
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('href')
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('id')
|
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('id')
|
||||||
|
@ -1823,7 +1824,6 @@ for(let i=prompt.url_pair.length;i>=0;--i)
|
||||||
|
|
||||||
new_text = new_text.replaceAll('(链接)', '');
|
new_text = new_text.replaceAll('(链接)', '');
|
||||||
new_text = new_text.replaceAll('[链接]', '');
|
new_text = new_text.replaceAll('[链接]', '');
|
||||||
new_text = new_text.replaceAll('(链接', '');
|
|
||||||
new_text = new_text.replaceAll('[]', '');
|
new_text = new_text.replaceAll('[]', '');
|
||||||
new_text = new_text.replaceAll('((', '(');
|
new_text = new_text.replaceAll('((', '(');
|
||||||
new_text = new_text.replaceAll('))', ')');
|
new_text = new_text.replaceAll('))', ')');
|
||||||
|
|
|
@ -999,9 +999,9 @@ def search():
|
||||||
}
|
}
|
||||||
#chat_talk {
|
#chat_talk {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 30vh;
|
max-height: 30vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: scroll;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
#iframe-wrapper {
|
#iframe-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -1188,6 +1188,7 @@ function proxify()
|
||||||
if(document.querySelector("#fnref\\:"+String(i+1)))
|
if(document.querySelector("#fnref\\:"+String(i+1)))
|
||||||
{
|
{
|
||||||
let tmp_url = document.querySelector("#fnref\\:"+String(i+1)).href
|
let tmp_url = document.querySelector("#fnref\\:"+String(i+1)).href
|
||||||
|
if(!tmp_url||!prompt.url_proxy[tmp_url]) continue;
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).addEventListener('click', function () {modal_open(prompt.url_proxy[tmp_url],i+1); modal.style.display = 'block'; });
|
document.querySelector("#fnref\\:"+String(i+1)).addEventListener('click', function () {modal_open(prompt.url_proxy[tmp_url],i+1); modal.style.display = 'block'; });
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('href')
|
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('href')
|
||||||
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('id')
|
document.querySelector("#fnref\\:"+String(i+1)).removeAttribute('id')
|
||||||
|
@ -1823,7 +1824,6 @@ for(let i=prompt.url_pair.length;i>=0;--i)
|
||||||
|
|
||||||
new_text = new_text.replaceAll('(链接)', '');
|
new_text = new_text.replaceAll('(链接)', '');
|
||||||
new_text = new_text.replaceAll('[链接]', '');
|
new_text = new_text.replaceAll('[链接]', '');
|
||||||
new_text = new_text.replaceAll('(链接', '');
|
|
||||||
new_text = new_text.replaceAll('[]', '');
|
new_text = new_text.replaceAll('[]', '');
|
||||||
new_text = new_text.replaceAll('((', '(');
|
new_text = new_text.replaceAll('((', '(');
|
||||||
new_text = new_text.replaceAll('))', ')');
|
new_text = new_text.replaceAll('))', ')');
|
||||||
|
|
Loading…
Add table
Reference in a new issue