Stop Auto Reload 的评价
Stop Auto Reload 作者: kgersen
2 条评价
- 评分 4 / 5来自 Firefox 用户 16792125, 3 年前It works perfect in every website except of this: https://www.capital.gr/ . When this website tries to reload , the addon works well and doesnt allow it , but in the same time scroll bar automaticaly , goes up on the top of the page ,and then i have to scroll down and search , in which point of the page i was reading before , which is annoying. Please fix it .Thank you.
开发者回应
发布于 3 年前To keep the page from scrolling, you'll need to install an extension like FireMonkey or Violentmonkey (I only tested with these two). Then create a new script and save the following in it:
// ==UserScript==
// @name Capital disable scroll before reload
// @namespace https://www.capital.gr/
// @match https://www.capital.gr/
// @grant none
// @run-at document-end
// @version 1.0
// ==/UserScript==
const myScript = document.createElement('script');
myScript.textContent = 'gotoPositionAfterRefresh = function(elementID) {}';
document.body.appendChild(myScript);