Created
June 7, 2026 21:29
-
-
Save shakna-israel/5ca37d8b2c26fc991fecbca14597c984 to your computer and use it in GitHub Desktop.
Desktop from page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){var t=document.title.replace(/[^\x20-\x7E]/g,'').trim();var u=location.href;var c='[Desktop Entry]\nEncoding=UTF-8\nVersion=1.0\nType=Application\nTerminal=false\nExec=xdg-open '+u+'\nName='+t+'\nIcon=web-browser\n';var blob=new Blob([c],{type:'application/octet-stream'});var url=URL.createObjectURL(blob);var a=document.createElement('a');a.href=url;a.download=t+'.desktop';document.body.appendChild(a);a.click();document.body.removeChild(a);setTimeout(function(){URL.revokeObjectURL(url);},1000);})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment