We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do you stop console commands from processing the same script after you are done? (it keeps going on in other tabs, days later, oops)

  • 2 个回答
  • 1 人有此问题
  • 91 次查看
  • 最后回复者为 Sirenwatcher

more options

How do you stop console commands from processing the same script after you are done? (it keeps going on in other tabs, days later, oops)

Used a command line argument from https://gist.github.com/CarletonStube.../0c838a6248772c6fea1339ddad503cce for Discord browser service to do something they don't provide.

https://gist.github.com/CarletonStuberg/0c838a6248772c6fea1339ddad503cce#gistcomment-2775415 ran this command, works fine. Issue: it is still running. Non-localised to actual window open. Possibly due to me re-entering it multiple times, it now seems to be stuck on.

Is there a script that I can run, or a console command to stop user inputted Console commands?

How do you stop console commands from processing the same script after you are done? (it keeps going on in other tabs, days later, oops) Used a command line argument from [https://gist.github.com/CarletonStuberg/0c838a6248772c6fea1339ddad503cce] for Discord browser service to do something they don't provide. https://gist.github.com/CarletonStuberg/0c838a6248772c6fea1339ddad503cce#gistcomment-2775415 ran this command, works fine. Issue: it is still running. Non-localised to actual window open. Possibly due to me re-entering it multiple times, it now seems to be stuck on. Is there a script that I can run, or a console command to stop user inputted Console commands?

被采纳的解决方案

I don't know what the script does.

If the script is something Firefox is applying over and over, exiting Firefox should cure that.

If the script is something that is now running on the website, then you need to stop it there.


Websites can create something called a service worker to do things even when their tab is closed. To see whether you have a service worker for the site, type or paste the following into the address bar and press Enter to load it:

about:serviceworkers

If there are sites that should no longer be running scripts in Firefox, you can disconnect them using the Unregister button.

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

I don't know what the script does.

If the script is something Firefox is applying over and over, exiting Firefox should cure that.

If the script is something that is now running on the website, then you need to stop it there.


Websites can create something called a service worker to do things even when their tab is closed. To see whether you have a service worker for the site, type or paste the following into the address bar and press Enter to load it:

about:serviceworkers

If there are sites that should no longer be running scripts in Firefox, you can disconnect them using the Unregister button.

more options

Extremely useful link thank you.

Whilst did not solve the problem because Discord does not seem to be creating a serviceworker command... what you have given me is probably even more useful than solving the problem.

Though so for a more indepth description of the issue. When I sign into Discord on the browser service, the script text can be put into specific open tabs, to run through and delete all known text from a user ID in a specific html code tab. The issue with it, is that i believe it is still running. Everytime I open the page, though I ran the code originally more than a week ago. I believe this, because I still get new "throwback errors" ie, errors that existed whilst i ran the script. Which seem to be reappearing themselves when i enter into the browser Discord now. Ie, the queries are current, though they should not be.

Looking at the blue links on the right [first image], they seem to be workers [second image is the 1/2 pages of the printout]. Though do not show in the worker list [about:serviceworkers]. But I just have a feeling this is affecting other things... this error, showed up in normal processing of the code. It is an inability to connect to an outsourced part of the actual program Discord (ie, originally this is a non-ability for the script to associate to spotify through discord coding, as spotify and discord have a partnership somewhat), whilst rewriting other areas localised to Discord itself. It did not conflict with the script command's function itself (it worked), but this error exhibited itself every now and again.

It is alrite. If the issue isn't something common to you, its okay. I presume a reinstall of firefox to absolve its issue would also work. Signing in and out of the browser program did not work, merely closing it did not work... i am hoping eventually it will solve itself.

Thank you for the data you gave me :hugs:.

由Sirenwatcher于修改