Aris-t2 / CustomJSforFx

custom scripts
GNU General Public License v3.0
236 stars 22 forks source link

Some scripts don't work #72

Closed Chirunos closed 1 year ago

Chirunos commented 2 years ago

Describe the issue: restart_button.uc.js restart_item_in_menu.uc.js restart_item_in_menu_old.uc.js

What should have happened instead? The buttons should have appeared

Steps to reproduce the issue? Normally install them

Method used (M1, M2 or M3): M2

System information OS & OS version: Windows 7 SP1 Build 7601 OS theme: Aero disabled DPI / HiDPI resolution: 100% Firefox or Thunderbird: Firefox Firefox/Thunderbird version: 104.0.2 Firefox/Thunderbird theme: Any of them Settings this issue occurs with: Any

Aris-t2 commented 2 years ago

Still works fine here even on latest Nightly 106.

Try to setup a new clean browser profile for testing.

Only use those two: restart_button.uc.js restart_item_in_menu.uc.js

Chirunos commented 2 years ago

Still works fine here even on latest Nightly 106.

Try to setup a new clean browser profile for testing.

Only use those two: restart_button.uc.js restart_item_in_menu.uc.js

What I did: created another profile (from about:profiles), restarted Firefox through the about:profiles button. The Restart button appeared and worked, but it was my main profile in use. In about:profiles, the new profile was shown as the default one. When I set my main profile as the default, the Restart button disappeared

Chirunos commented 2 years ago

By the way, I didn't change any settings in the new profile

BoomerangAide commented 2 years ago

Did you try the "Open folder" buttons for the "root folder" entry for each profile, and from whichever is the one with the "chrome" folder containing mods, copying said "chrome" folder to the other profiles root folders? (brute force method)

edit: Are there other scripts (preferably that work) active? If yes, you could try to disable all scripts besides one of the "restart something" scripts. I it cause them to work, then it may be another script that crash all scripts loaded after itself

During the test above, or during normal operation, you could also check the browser console and see if there's a report there on something having crashed (Firefox often have some even without modding, but the search has to be done somewhere).

Chirunos commented 2 years ago

Did you try the "Open folder" buttons for the "root folder" entry for each profile, and from whichever is the one with the "chrome" folder containing mods, copying said "chrome" folder to the other profiles root folders? (brute force method)

Yes

Aris-t2 commented 1 year ago

@Gersonzao

Any chance the startup cache might be the issue on your end?

https://github.com/Aris-t2/CustomJSforFx#scriptstartup-cache-must-be-deleted-after-every-change

Chirunos commented 1 year ago

I've deleted it in every attempt I made. By the way, I'm using Firefox ESR (103.2) now

BoomerangAide commented 1 year ago

I'm on Firefox ESR 102.3.0esr 64 bits myself, and restart_item_in_menu.uc.js work for me, and I have changed almost nothing in the code. I don't use the other, so I don't know about it. Are you sure you don't just have to move it/put it back after it was somehow removed, with "customize toolbar" ?

Chirunos commented 1 year ago

I'm sorry, I didn't understand that I needed to modify the paths inside userChrome.js and insert the name of the script. restart_item_in_menu.uc.js works perfectly now