强制滚动到外部网站上的特定最高值

Force scroll to specific top value on external website

即使附近没有带 ID 的元素,是否可以通过 link 使快捷方式下到我想要的部分?到目前为止我已经试过了:

<a href="http://example.com/#+200px">Go down 200 pixels</a>
<!-- for some reason this doesn't work???? (jk i know its ridiculous) -->

一个要求是我无法访问我正在 link 访问的网站,它完全是外部网站。我的问题是,锚标记(或类似标记)唯一能做的就是滚动到具有特定 id 的元素吗?例如:这目前有效:https://whosebug.com#footer 因为 Whosebug 的页脚有一个 idfooter

但是如果附近的元素上不存在 id 怎么办。

欢迎使用其他框架的答案,尽管可能无关紧要。

不幸的是,没有参数可以放入指向另一个网站的 link 中,这会使浏览器在打开页面后将页面滚动到给定位置。

无法以编程方式完成,因为网站无法访问其他域上的网站。 (即使将外部资源加载到 iframe 或弹出窗口中也无济于事,因为 Same-origin policy still prevents you to make any changes to it. See the comments under this answer 对类似的问题。)