Skip to content

Commit

Permalink
Update config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
win4r authored Apr 9, 2024
1 parent 2592b3e commit 406e0ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@
"url": "https://chat.openai.com/g/g-jO85wxiFg-suno-ai-v3-lyrics-plus",
"script": "(function() { var textarea = document.querySelector('textarea'); textarea.value = '[message]'; textarea.dispatchEvent(new Event('input', {bubbles: true})); setTimeout(function() { var sendButton = document.querySelector('[data-testid=\"send-button\"]'); if (sendButton) sendButton.click(); }, 1000); })();",
"iniScript": "alert(0)"
},
{
"id": 40,
"name": "文心一言",
"url": "https://yiyan.baidu.com/",
"script": "(function(){var e=document.querySelector('.yc-editor');if(!e){return console.error('Editable div not found');}e.focus();document.execCommand('insertText',false,'[message]');['keydown','keypress','input','keyup'].forEach(function(t){var n=new Event(t,{bubbles:true,cancelable:true});if(t==='keydown'||t==='keypress'||t==='keyup'){n.key='Enter';n.code='Enter';n.keyCode=13;}e.dispatchEvent(n);});setTimeout(function(){e.dispatchEvent(new KeyboardEvent('keydown',{key:'Enter',code:'Enter',keyCode:13,bubbles:true,cancelable:true}));},500);})();",
"iniScript": ""
}
],
"CurrentAi": [
Expand Down

0 comments on commit 406e0ae

Please sign in to comment.