电脑PC端上使用夸克浏览器搜索

步骤

点击查看:滑稽吖

代码解读

javascript:window.open('https://quark.sm.cn/s?q=滑稽吖','_blank','width=350px,height=700px,menubar=no,toolbar=no,scrollbars=yes');

open() 方法用于打开一个新的浏览器窗口或查找一个已命名的窗口。

获取当前页面url

window.location.href(设置或获取整个 URL 为字符串)


var integrityurl = window.location.href;
console.log(integrityurl);
点赞
  1. 玉米投手说道:
    Google Chrome Windows 7

    用翰凌哥的网站就欧克了

发表评论

电子邮件地址不会被公开。必填项已用 * 标注