chatGPT tools Plus(修改版)

Google, Bing, Baidu, Yandex, 360 Search, Google Mirror, Sogou, B Station, F Search, DuckDuckgo, CSDN sidebar CHAT search, integrate domestic words, star fire, sky work, righteous AI, Chatglm, 360 wisdom, 360 wisdom brain. Experience AI immediately, no need to turn over the wall, no registration, no need to wait!

< Feedback on chatGPT tools Plus(修改版)

Review: Good - script works

§
Posted: 2023-05-14

大佬,可以给插件界面再添加一个"请继续"的按钮吗,chat搜索提交时,输出的内容经常断片,再一次搜索得到的回复也经常是残篇哦。

还有,就是可以适配一下手机端吗,用狐猴浏览器时只能在百度页面加载,作为非百度党很受伤啊!

我在下面提交一下修改,有兴趣的小伙伴可以自己改一下哈
1:
替换:@include
目标:@match

2:
替换:452px
目标:100%

3:
替换:
case 0: //bing
if (divE) {
document.getElementById('b_context').prepend(divE)
}
break;
case 1: //google
if (document.getElementsByClassName('TQc1id ')[0]) {
document.getElementsByClassName('TQc1id ')[0].prepend(divE);
} else {
document.getElementById("rcnt").appendChild(divE);
}
break;
case 2: //baidu
if (document.getElementById('content_right')) {
document.getElementById('content_right').prepend(divE)
}
break;
case 3: //yandex
if (document.getElementById('search-result-aside')) {
document.getElementById('search-result-aside').prepend(divE)
}
break;
case 4: //360
if (document.getElementById('side')) {
document.getElementById('side').prepend(divE)
}
break;
case 5: //fsoufsou
let frow = document.querySelectorAll(".flex-row")[2]
if (frow.children!==undefined && frow.children.length === 2) {
frow.children.item(1).prepend(divE)
} else {
frow.innerHTML = frow.innerHTML +
`

${divE.innerHTML}

`
}

break;
case 6: //手机百度
if (document.getElementById('page-bd')) {
document.getElementById('page-bd').prepend(divE)
//调整css
try {
document.querySelector("#gptDiv").style.setProperty("width",
"100%")
/*document.querySelector("#gptInput").setAttribute("class",
"se-input adjust-input")*/
} catch (e) {
console.error(e)
}
}
break;
case 7: //duckduckgo
if (document.querySelector('.results--sidebar div')) {
document.querySelector('.results--sidebar div').prepend(divE)
}
break;
case 8: //sogou
if (document.querySelector('div.right')) {
document.querySelector('div.right').prepend(divE)
}
break;
default:
if (divE) {
console.log(`啥情况${divE}`)
}

目标:

case 0: //bing
if (divE) {
document.getElementById('b_results').prepend(divE)
}
break;
case 1: //google
if (document.getElementsByClassName('TQc1id ')[0]) {
document.getElementsByClassName('TQc1id ')[0].prepend(divE);
} else {
document.getElementById("sfcnt").appendChild(divE);
}
break;
case 2: //baidu
if (document.getElementById('content_right')) {
document.getElementById('content_right').prepend(divE)
}
break;
case 3: //yandex
if (document.getElementById('search-result-aside')) {
document.getElementById('search-result-aside').prepend(divE)
}
break;
case 4: //360
if (document.getElementById('side')) {
document.getElementById('side').prepend(divE)
} else {
document.getElementById("header").appendChild(divE);
}
break;
case 5: //fsoufsou
let frow = document.querySelectorAll(".flex-row")[2]
if (frow.children!==undefined && frow.children.length === 2) {
frow.children.item(1).prepend(divE)
} else {
frow.innerHTML = frow.innerHTML +
`

${divE.innerHTML}

`
}
break;
case 6: //手机百度
if (document.getElementById('page-bd')) {
document.getElementById('page-bd').prepend(divE)
//调整css
try {
document.querySelector("#gptDiv").style.setProperty("width",
"100%")
/*document.querySelector("#gptInput").setAttribute("class",
"se-input adjust-input")*/
} catch (e) {
console.error(e)
}
}
break;
case 7: //duckduckgo
if (document.querySelector('.results--sidebar div')) {
document.querySelector('.results--sidebar div').prepend(divE)
} else {
document.getElementById("header").appendChild(divE);
}
break;
case 8: //sogou
if (document.querySelector('div.right')) {
document.querySelector('div.right').prepend(divE)
} else {
document.getElementById("header").appendChild(divE);
}
break;
default:
if (divE) {
console.log(`啥情况${divE}`)
}

Joke SmithAuthor
§
Posted: 2023-05-15

已适配手机端,有的线路不支持连续对话,或者线路本身有字数限制、想继续就自己打字“继续”再次搜索。按钮就不加了

Post reply

Sign in to post a reply.