Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能帮我?我正在寻找一个JavaScript。我想在我的网址中添加“?print=yes”,例如http://mywebsite.com/page1.html?print=yes
一旦它被点击并完全加载,window.print() 就必须工作。
如何检查查询字符串的值
JavaScript 查询字符串
如何从 javascript 打印。
https://www.google.com.au/search?q=javascript+print