Stop Auto Reload 的评价
Stop Auto Reload 作者: kgersen
kgersen 的回应
开发者回应
发布于 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);
// ==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);