Skip to content

Instantly share code, notes, and snippets.

@andronedev
Last active February 2, 2024 15:26
Show Gist options
  • Save andronedev/9d0fe439918866067c0edef28174e676 to your computer and use it in GitHub Desktop.
Save andronedev/9d0fe439918866067c0edef28174e676 to your computer and use it in GitHub Desktop.
[AI HIDE] Easily hide chatgpt, bard, Gemini PRO, Claude.ai at school

[AI HIDE] Easily hide chatgpt, bard, Gemini PRO, Claude.ai at school

by @andronedev and @kckmdev

// ==UserScript==
// @name [CHATGPT] Easily hide chatgpt at school
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Change title and favicon of OpenAI Chat website
// @author @andronedev & @kckmdev
// @match https://chat.openai.com/*
// @match https://claude.ai/*
// @match https://bard.google.com/*
// @grant none
// @updateURL https://gist.githubusercontent.com/andronedev/9d0fe439918866067c0edef28174e676/raw/hidegpt.user.js
// @downloadURL https://gist.githubusercontent.com/andronedev/9d0fe439918866067c0edef28174e676/raw/hidegpt.user.js
// ==/UserScript==
(function() {
'use strict';
// Fonction pour changer le favicon
function changeFavicon(url) {
var link = document.createElement('link'),
oldLink = document.getElementById('favicon');
link.id = 'newFavicon';
link.rel = 'icon';
link.href = url;
if (oldLink) {
document.head.removeChild(oldLink);
}
document.head.appendChild(link);
}
setInterval(()=>{
document.title = "Google !";
}, 1000);
// Changez l'URL de votre nouveau favicon ici
changeFavicon("https://www.google.com/favicon.ico");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment