adding to gitea repo
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// ==UserScript==
|
||||
// @name Rename Tab – Alt+F2
|
||||
// @match *://*/*
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
addEventListener('keydown', e=>{
|
||||
if (e.altKey && e.key==='F2') {
|
||||
e.preventDefault();
|
||||
let t = prompt('New title:', document.title);
|
||||
document.title = t?.trim() || document.title;
|
||||
}
|
||||
}, true);
|
||||
Reference in New Issue
Block a user