chromede tampermonkey ekletisin kur bunu script olarak ekle
// ==UserScript==
// @name Key Press Redirect
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Redirect to specific websites only when specific keys are pressed
// @author ChatGPT
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Klavye tuşlarına basılma olayını dinle
document.addEventListener('keydown', function(event) {
// '1' tuşuna basıldığında turkpaneli.com'a git
if (event.key === '1') {
window.location.href = "https://turkpaneli.com";
}
// '2' tuşuna basıldığında hotmail.com'a git
if (event.key === '2') {
window.location.href = "https://hotmail.com";
}
});
})();
Teşekkür ederim hocam istediğim gibi oldu. Elinize sağlık.