Simple and minimal duckduckgo script for making custom themes
- go on https://duckduckgo.com
- open developer console by right click > inspect > console
- paste this script and customize it
- this script has mine gray config for pulse browser (a better fork of Firefox)
(function() {
const ct = {
base: "#26222A",
clicked:"#C555F2",
text:"#F2F1F4",
head: "#1A171C",
link: "#6D98F3",
fullLink: "#C2D4FA"
};
const theme = [
`21=${ct.head}`,
`7=${ct.base}`,
`8=${ct.text}`,
`9=${ct.link}`,
`aa=${ct.clicked}`,
`ae=${ct.base}`,
`j=${ct.head}`,
`x=${ct.fullLink}`,
];
for (const item of theme) {
document.cookie = `${item}; max-age=126144000; samesite=lax; secure`;
}
})();
- this is how it looks