(() => {
const word = window.prompt("Enter the keyword.");
if (word) {
const q = encodeURIComponent(`${word} site:play.google.com OR site:apps.apple.com`)
const url = `https://www.google.com/search?q=${q}`;
window.open(url, "_blank");
}
})();
以下、圧縮版ブックマーク登録用。
(()=>{var a=window.prompt("Enter the keyword.");a&&(a=encodeURIComponent(`${a} site:play.google.com OR site:apps.apple.com`),window.open(`https://www.google.com/search?q=${a}`,"_blank"))})();