在加载任何HTML之前,请寻找一种控制选项卡的方法
我正在寻找一种在任何HTML加载之前控制Chrome或任何其他浏览器的选项卡的方法。
我写了一个快速的TampermonKey脚本,该脚本反复重新加载页面检查约会,但问题是该网站真可怕,以至于现在只有3个时间才一次加载。因此,如果没有加载,我需要一种方法来检测它并在≈60秒后重新加载页面。由于它根本没有返回任何内容,因此Tampermonkey无法访问任何东西,也无法触发location.reload()
上下文:尝试在柏林获得签证约会。从字面上看,无休止地刷新页面是唯一做到这一点的方法...
I'm looking for a way to control a tab in Chrome or any other browser before any HTML has loaded.
I wrote a quick TamperMonkey script that repeatedly reloads a page checking for appointments, but the problem is that the site is sooooo horrible that it's only loading at all one time in 3 right now. So I need a way to detect that and reload the page after ≈60 sec if it hasn't loaded. Since it's not returning anything at all TamperMonkey has no access to anything and can't trigger location.reload()
Context: Trying to get a visa appointment in Berlin. Refreshing the page endlessly, for literally days on end, is the only way to do that... ????♂️
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论