feat: add traffic intelligence toolkit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
(() => {
|
||||
document.querySelectorAll('[data-year]').forEach((node) => {
|
||||
node.textContent = new Date().getFullYear();
|
||||
});
|
||||
|
||||
document.querySelectorAll('a[href]').forEach((link) => {
|
||||
if (link.hostname && link.hostname !== window.location.hostname) {
|
||||
link.target = '_blank';
|
||||
link.rel = 'noopener noreferrer';
|
||||
}
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user