Automatically appends predefined quoted phrases to the DuckDuckGo search box
当前为
// ==UserScript==
// @name DuckDuckGo Append Anti-AI Search
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Automatically appends predefined quoted phrases to the DuckDuckGo search box
// @author Beauvoir Ferril
// @match https://duckduckgo.com/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const phrases = [
'"-ai"', '"-prompt"', '"-generated"', '"-generative"', '"-generator"', '"-stable diffusion"', '"-nightcafe"', '"-chatgpt"', '"-gpt"', '"-adobe firefly"', '"-midjourney"', '"-dall-e"', '"-canva"', '"-jumpstory"', '"-runwayml"', '"-openai"', '"-gettyimages"', '"-limewire"', '"-playgroundai"', '"-craiyon"', '"-civitai"', '"-deepai"', '"-hotpot"', '"-deepmind"', '"-pixlr"'
];
const searchInput = document.querySelector('input[name="q"]');
if (searchInput) {
// Get current value in the search box
const currentValue = searchInput.value;
searchInput.value = currentValue ? `${currentValue}, ${phrases.join(', ')}` : phrases.join(', ');
}
})();