Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to change default class name of the Firefox Window Class from "MozillaWindowClass" to other for example "DMoz"? Which option of about:cofig?

  • 3 replies
  • 2 have this problem
  • 959 views
  • Last reply by none64

more options

How to change default class name of the Firefox Window Class from "MozillaWindowClass" to other for example "DMoz"? Which option of about:cofig? Possibility of changing it shall prevent part of attacks for example closing all Firefox windows.

This option was present in older versions but this setting was hidden or removed. It was used by me but I can't remember its name.

Chosen solution

Hi, as far as I can tell, the preference `ui.window_class_override` is still present and is the one you want.

I doubt there would be attacks such as closing all Firefox windows, but if you know of any like that, please report it to our security team for investigation.

Read this answer in context 👍 1

All Replies (3)

more options

Chosen Solution

Hi, as far as I can tell, the preference `ui.window_class_override` is still present and is the one you want.

I doubt there would be attacks such as closing all Firefox windows, but if you know of any like that, please report it to our security team for investigation.

more options

Standard8, thank you. It resolved my problem. It means: the old versions of Firefox have entered default value MozillaWindowClass but newer version (45.3) has empty character string in this place.

more options

Possible attacks: FindWindow with first parameter set to " MozillaWindowClass" and second NULL. ShowWindow with second parameter 0 or SetParent with second parameter HWND(-3).