Skip to content

Commit

Permalink
add copyright updater
Browse files Browse the repository at this point in the history
  • Loading branch information
joshparkerj committed Jan 22, 2024
1 parent d15e95c commit bfdfa5d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pairai/update-copyright.user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// ==UserScript==
// @name update copyright for pairai
// @description update copyright for pairai
// @namespace http://tampermonkey.net/
// @version 2024-01-22
// @match https://pairai.com/
// ==/UserScript==
(function updateCopyright() {
const copyrightElement = document.querySelector('[data-framer-name=links]').parentElement.children[0].querySelector('p');
const updatedText = copyrightElement.textContent.replace('2023', '2024');
copyrightElement.textContent = updatedText;
}());

0 comments on commit bfdfa5d

Please sign in to comment.