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!

Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

How can i disable a userscript while keeping greasemonkey add-on disabled?

  • 5 одговорa
  • 12 има овај проблем
  • 1 преглед
  • Последњи одговор послао Utopian Persona

more options

Earlier, i installed the userscript "Dailymotion AutoPlay Killa". Some hours later i closed FF for the first time after installing this userscript and after that i couldn't open the browser again. I kept clicking on my desktop icon and nothing would happen. Finally, i started FF in safe mode and after disabling greasemonkey i could open the browser normally. However, i have more userscripts installed besides the one i mentioned, so i need to enable greasemonkey again, but by doing that the userscript gets also enabled and i can't restart my FF. Is there any way to disable this userscript while keeping greasemonkey disabled?

Thank you

Earlier, i installed the userscript "Dailymotion AutoPlay Killa". Some hours later i closed FF for the first time after installing this userscript and after that i couldn't open the browser again. I kept clicking on my desktop icon and nothing would happen. Finally, i started FF in safe mode and after disabling greasemonkey i could open the browser normally. However, i have more userscripts installed besides the one i mentioned, so i need to enable greasemonkey again, but by doing that the userscript gets also enabled and i can't restart my FF. Is there any way to disable this userscript while keeping greasemonkey disabled? Thank you

Сви одговори (5)

more options

I just deleted the related files found in C:\Users\username\AppData\Roaming\Mozilla\Firefox\Profiles\something.default\gm_scripts but i still can't open firefox after enabling greasemonkey. Either i didn't completely disable the userscript by deleting those files or the add-on greasemonkey is responsible for this problem and not the userscript "Dailymotion AutoPlay Killa".

more options

Lachesis wrote:

Is there any way to disable this userscript while keeping greasemonkey disabled?
  1. Open your profile folder.
  2. Open the gm_scripts subfolder.
  3. Create a backup copy of the config.xml file.
  4. Open config.xml in a text editor like Notepad. Find the <Script ... </Script> section for the script in question, and change enabled="true" to enabled="false". Save and close the file.

Lachesis wrote:

I just deleted the related files

If you deleted the script subfolder (something like Dailymotion_AutoPlay_Killa), also delete the aforementioned <Script ... </Script> section from config.xml.

more options

Hello Gingerbread_Man,

I tried both things you suggested (setting enabled="false" and deleting completely the <Script>... </Script> section from config.xml), but still i couldn't restart FF after enabling greasemonkey.

Any other ideas?

Thank you for your time.

Измењено од стране Utopian Persona

more options

Then like you suspected, the problem lies elsewhere: either with another script, or Greasemonkey itself.

Edit config.xml again and replace all instances of enabled="true" with enabled="false". In Notepad, press Ctrl+H to bring up the Replace dialog.
If Firefox starts afterwards, you can gradually re-enable scripts in the Add-ons Manager and restart Firefox until you hit the problematic one. Once you find it, delete it and remove its reference from config.xml as described above.

If Firefox still won't start with all scripts disabled, then you'll have to disable Greasemonkey in Firefox Safe Mode as you've done before. Head over to the Greasemonkey support site below.

more options

I decided i can live without greasemonkey, so i removed it completely from my add-ons list.