https://github.com/icai/ai-prompt-testing
ai prompt for website testing
https://github.com/icai/ai-prompt-testing
chatgpt chatgpt-bot prompt
Last synced: 3 months ago
JSON representation
ai prompt for website testing
- Host: GitHub
- URL: https://github.com/icai/ai-prompt-testing
- Owner: icai
- License: mit
- Created: 2023-05-04T16:19:31.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T06:22:38.000Z (over 1 year ago)
- Last Synced: 2025-02-09T12:34:37.716Z (4 months ago)
- Topics: chatgpt, chatgpt-bot, prompt
- Language: JavaScript
- Homepage:
- Size: 197 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AI-prompt-testing
chatgpt button for website to generate testing
[![NPM Version][npm-image]][npm-url]
[![License][license-image]][license-url][npm-image]: https://img.shields.io/npm/v/ai-prompt-testing.svg
[npm-url]: https://www.npmjs.com/package/ai-prompt-testing
[license-image]: https://img.shields.io/npm/l/ai-prompt-testing.svg
[license-url]: https://github.com/icai/ai-prompt-testing/blob/master/LICENSE## Configure
### Add chatbtn code manually
Below is the chatbtn code for this account. Please copy and paste this code into the code of every page on your site, immediately after the or element. Only one chatbtn tag can be added per page.
```js
window._chatData = window._chatData || [];
function chatag(){_chatData.push(arguments);}
chatag('js', new Date());
chatag('config', 'aHR0cHM6Ly9kb2NzLnczY3ViLmNvbQ==');```
or
```js
var tracker_id = 'aHR0cHM6Ly9kb2NzLnczY3ViLmNvbQ=='
function chatag(){_chatData.push(arguments);}
var url = "https://unpkg.com/ai-prompt-testing/lib/chatgpt.umd.js?id=" + tracker_id;
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = url;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
window._chatData = window._chatData || [];
chatag('js', new Date());
chatag('config', tracker_id);```
### Chatag config
- chatag('config', 'aHR0cHM6Ly9kb2NzLnczY3ViLmNvbQ==');
'aHR0cHM6Ly9kb2NzLnczY3ViLmNvbQ==' equal to btoa(location.origin)
### Lastest library
https://unpkg.com/ai-prompt-testing
## Demo
https://docs.w3cub.com/rust/std/index## Greasy Gork script
https://greasyfork.org/en/scripts/484320-chatgpt-for-website-qa-testing
## LICENSE
Copyright (c) Terry Cai. Licensed under the MIT license.