Skip to content

Commit

Permalink
Update newwindow.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Fgaoxing authored Apr 15, 2022
1 parent 88c0578 commit bd3bb07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion newwindow.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<script src="https://cdn.jsdelivr.net/gh/Fgaoxing/Tool-js/tool.js"></script>
<script>
window.open(decodeURIComponent(getQueryVariable('url','/')),'newwindow','height=600,width=900,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no, status=no')
var popUp = window.open(decodeURIComponent(getQueryVariable('url','/')),'newwindow','height=600,width=900,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no, status=no')
if (popUp == null || typeof(popUp)=='undefined') {
alert('请解除窗口阻拦!');
}
else {
popUp.focus()
window.close()
}
</script>

1 comment on commit bd3bb07

@vercel
Copy link

@vercel vercel bot commented on bd3bb07 Apr 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tool-js – ./

tool-js-fgaoxing.vercel.app
tool-js-git-main-fgaoxing.vercel.app
tool-js.vercel.app

Please sign in to comment.