Skip to content

Simple and minimal duckduckgo script for making custom themes

Notifications You must be signed in to change notification settings

MiftikCZ/ddg_theme_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

DDG Theme Script

Simple and minimal duckduckgo script for making custom themes

usage

  • 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`;
  }
})();

Snímek obrazovky_2023-03-23_19-39-22

  • this is how it looks

About

Simple and minimal duckduckgo script for making custom themes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published