Tag Archives: firefox

[Solved] SyntaxError: Invalid regular expression: invalid group specifier name

SyntaxError: Invalid regular expression: invalid group specifier name

Regular problem

SafariSyntaxError: Invalid regular expression: invalid group specification name
FirefoxSyntaxError: invalid regexp group
Mobile terminal: Android is normal, iOS is not

reason

Firefox, IE, and IOS do not support the following writing methods: ?<=, ?<!, ?!, ?=

Look ahead is a kind of conditional judgment, such as if statement
(?=exp) the position that satisfies expression exp after positive look ahead match
(?!exp) the position that does not satisfy expression exp after negative look ahead match

Solution:

let reg = /ab?<=cd/
Modify to
let reg = new RegExp('ab(?<=cd)')

[Solved] QuotaExceededError the quota has been exceeded — Firefox

QuotaExceededError the quota has been exceeded — Firefox
Firefox Error:

QuotaExceededError the quota has been exceeded

1. Enter about:config in the Firefox address bar

2. Search DOM.storage.default.Quto in the advanced settings interface.

3. Set its value to 102400 or greater.

 

Solution:

rewrite the method of Localstorage (getitem, setitem, removeitem…)
the following record can be written:

function getStorage() {

    var storageImpl;

     try { 
        localStorage.setItem("storage", ""); 
        localStorage.removeItem("storage");
        storageImpl = localStorage;
     }
     catch (err) { 
         storageImpl = new LocalStorageAlternative();
     }

    return storageImpl;

}

function LocalStorageAlternative() {

    var structureLocalStorage = {};

    this.setItem = function (key, value) {
        structureLocalStorage[key] = value;
    }

    this.getItem = function (key) {
        if(typeof structureLocalStorage[key] != 'undefined' ) {
            return structureLocalStorage[key];
        }
        else {
            return null;
        }
    }

    this.removeItem = function (key) {
        structureLocalStorage[key] = undefined;
    }
}

cusSto = getStorage();

The vscode installation plug-in liveserver specified browser reported an error and could not be found

Problem Description:

After installing vscode, you do not want to use the default IE browser. You want to specify chrome or Firefox, but install the plug-in lever server or other browser plug-ins. When specifying the default browser, windows reports an error and cannot find chrome or Firefox
after reading many posted on the Internet, they are configured in settings.json. After personal practice, they have no effect. Later, after their own exploration, they found that the plug-in can’t find your chrome or Firefox. It’s not that you haven’t installed it on your computer, let alone on disk C; But because when a plug-in such as lever server specifies a browser, the windows system will find the installation directory of the software according to the system variables.

terms of settlement:

1. Open the control panel of the computer – & gt; System and security —– & gt; System
2. Open advanced system settings, click environment variables, system variables, and add a new variable named path: D: \ Kiki \ Mozilla Firefox
this directory is the directory where your Google or Firefox exe files are located
3. After configuring environment variables and saving, restart vscode

firefox sec_error_untrusted_issuer

The Firefox browser USES FoxyProxy

please install firefox [url=https://addons.mozilla.org/zh-cn/firefox/addon/foxyproxy-standard/] FoxyProxy [/ url]

firefox needs to import the certificate, open firefox -> Options – & gt; Advanced – & gt; Encryption – & gt; View certificate -& GT; Certificate Authority -& GT; Import certificate, select Ca. CRT (attached), check all items, import.

rules for adding agents.

is working properly.

but the following problems will occur:

[color=red]firefox sec_error_untrusted_issuer[/color]

solution

[img]http://dl.iteye.com/upload/picture/pic/122368/d378a637-4b15-3bef-b62d-18be23033245.jpg[/img]

An error is reported when you open HTTPS with the following error code: SSL_ error_ ssl_ Disabled) (solved)

To connect to Oracle’s EM console recently, use the Firefox browser.
It always fails to connect:
https://124.13.23.23:1158/em
 
Error: Unable to secure connection because SSL protocol is disabled. (SSL_error_sSL_disabled)
 
Check on the AIX system that the EM service has been started:
 
Hgsdfe01 :[/oracle]$emctl status dbconsole
oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.

https://hgdss01:1158/em/console/aboutApplication Oracle Enterprise Manager 11 g is running.
——————————————————————
Logs are generated in directory /oracle/app/oracle/product/11g/db/hgdsfe01_sfedev/sysman/log
 
Em has been started.
 
Solutions:
1: Download the latest Firefox browser: 3.6.12
2: Tools — options — Advanced — encryption
3: Check: Use TLS1.0
4: Click OK
5: Turn off Firefox from now on.