Salut
La page du site https://www.lepoint.fr/ contient ce code
<script language="javascript" type="text/javascript">
var timeoutID=0;
function LoadPage(){
window.document.location.reload();
}
function Timer(){
timeoutID = window.setTimeout("LoadPage()",240000);
}
Timer();
</script>
c.f https://developer.mozilla.org/fr/docs/Web/API/Location
ça provoque un rechargement de la page toutes les 4 mn et c’est plutôt énervant . Encore plus quand on écoute un podcast sur la page, ça l’interrompt et la reprise ne se fait pas.
j’ai essayé un fichier user.js mais ça ne fonctionne pas
user_pref("capability.policy.policynames", "noredirect");
user_pref("capability.policy.noredirect.sites", "http://www.lepoint.fr https://www.lepoint.fr");
user_pref("capability.policy.noredirect.Window.Location.replace", "noAccess");
user_pref("capability.policy.noredirect.Window.Location.assign", "noAccess");
user_pref("capability.policy.noredirect.Window.Location.reload", "noAccess");
user_pref("capability.policy.noredirect.Window.Location", "noAccess");
user_pref("capability.policy.noredirect.Document.Location.replace", "noAccess");
user_pref("capability.policy.noredirect.Document.Location.assign", "noAccess");
user_pref("capability.policy.noredirect.Document.Location.reload", "noAccess");
user_pref("capability.policy.noredirect.Document.Location", "noAccess");
user_pref("capability.policy.noredirect.Location.replace", "noAccess");
user_pref("capability.policy.noredirect.Location.assign", "noAccess");
user_pref("capability.policy.noredirect.Location.reload", "noAccess");
user_pref("capability.policy.noredirect.Location", "noAccess");
user_pref("capability.policy.noredirect.Window.document.Location.reload", "noAccess");
user_pref("capability.policy.noredirect.window.setTimeout", "noAccess");
Comment inhiber cette temporisation de 4 mn?