You can disable JavaScript text popups in Firefox by using an extension or adjusting the browser settings. Here are a couple of methods:
Method 1: Using an Extension
Install an Extension: You can use extensions like NoScript or uBlock Origin to block JavaScript on specific websites.
Configure the Extension: After installing, configure the extension to block JavaScript on the sites where you don’t want popups.
Method 2: Adjusting Browser Settings
Open Firefox Settings:
Click on the menu button (three horizontal lines) in the top-right corner.
Select Settings.
Access Advanced Preferences:
Type about:config in the address bar and press Enter.
Click Accept the Risk and Continue.
Disable JavaScript:
Search for javascript.enabled.
Double-click the preference to set it to false.
Disabling JavaScript might affect the functionality of some websites, it will definitely break some sites.