How to define a Javascript object? The key of an object can be an identifier/symbol(an identifier is a continuous alphabeta/number/_ that does not begin with a number), a number, or […]

Network request initiators

When you type a url such as myprogrammingnotes.com in Firefox’s address bar and type the enter key, the browser will send many http requests to the network. These requests are […]

Firefox extension icon not showing

You must know how to add an icon for a firefox extension: “browser_action”: { “default_popup”: “popup.html”, “default_icon”: { “16”: “icon16.png”, “48”: “icon48.png”, “128”: “icon128.png” }, “default_title”:”hello world”, } You expect […]

Now, I got this error when building using CMake: error C2039: ‘string_view’: is not a member of ‘std’ string_view is a new feature of C++17 which must be enabled for […]