Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Programmer-Red authored Aug 17, 2023
1 parent c52b472 commit 878946d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

var blob = new Blob(['msgbox("给你一个小礼物")'],{type:'text/plain'});
var a = document.createElement('a');
a.href = window.URL.createObjectURL(blob);
a.download = '1.txt';
a.click();

0 comments on commit 878946d

Please sign in to comment.