简体   繁体   English

重定向到同一页面-页面处于无限循环中

[英]Redirect to same page - the page is in endless loop

I have made a huge mistake. 我犯了一个大错误。 I am working with a backend system, where I am only allowed to post simple html and CSS code. 我正在使用一个后端系统,该系统仅允许发布简单的html和CSS代码。

I needed to make a redirect from page x to page y. 我需要从页面x重定向到页面y。 Therefore I posted this code: 因此,我发布了以下代码:

<meta http-equiv="refresh" content="0; url=site.com/page/page-x">

But I made a mistake, so I made the redirect to the same page. 但是我犯了一个错误,所以我将重定向到了同一页面。 That means the page is just refreshing every 0.5 seconds. 这意味着页面仅每0.5秒刷新一次。 I cannot make it stop, so I can delete the code I made in the backed. 我无法停止它,因此我可以删除自己在后台编写的代码。

Can I stop the redirect in the inspector window in Chrome or Firefox, so I can delete the redirect code? 是否可以在Chrome或Firefox的检查器窗口中停止重定向,以便删除重定向代码?

I cross my fingers somebody can help me. 我用手指交叉,有人可以帮助我。

Try disabling META REFRESH in the browser. 尝试在浏览器中禁用META REFRESH。

In Firefox, go to about:config , find accessibility.blockautorefresh and set it to true . 在Firefox中,转到about:config ,找到accessibility.blockautorefresh并将其设置为true

Hopefully it will prevent a page from refreshing. 希望它将阻止页面刷新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM