mirror of
https://codeberg.org/ashley/poke
synced 2025-05-30 02:59:43 +00:00
Update html/search.ejs
This commit is contained in:
parent
3f19854798
commit
afa738f8c2
@ -1058,7 +1058,7 @@ function extractQueryFromUpsellMessage(message) {
|
|||||||
askBtn.addEventListener('click', () => {
|
askBtn.addEventListener('click', () => {
|
||||||
const userQuery = prompt('What would you like to ask ChatGPT?');
|
const userQuery = prompt('What would you like to ask ChatGPT?');
|
||||||
if (userQuery) {
|
if (userQuery) {
|
||||||
window.location.href = `https://chatgpt.com/chat?query=${encodeURIComponent(userQuery)}`;
|
window.location.href = `https://chatgpt.com/?q=${encodeURIComponent(userQuery)}`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user