@צדיק-תמים
קח זה יעבוד לך:
javascript: (() => { if (window.location.host === 'www.youtube.com') { URL = location.href; host = 'https://downsub.com/?url='; UrlOut = host + URL; window.open(UrlOut, '_blank'); } else { return alert('!הסקריפט תואם רק לאתר יוטיוב'); }})()
בקוד חסר לך שתי ";"