The onclick attribute of submit input and the onsubmit attribute of form
A form typically has an input button of the type sumbit; clicking the submit input button may trigger the posting of the form. The submit input button can have an […]
A form typically has an input button of the type sumbit; clicking the submit input button may trigger the posting of the form. The submit input button can have an […]
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 […]
Creating a Firefox extension that automatically reloads a page can be accomplished using the WebExtensions API provided by Firefox. To write a firefox addon, you need to at least write […]
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 […]
If you are developing a firefox extension, you might get this error after you edit the manifest.json file and reload the extension. It indicates some error in the manifest, e.g., […]
For your own project, sure you know what Visual Studio version you are using to develop it. But for other projects downloaded from the Internet such as github, how to […]
If your project is about to link to a lib, you probably need to use the find_package command of CMake. find_package(libname CONFIG REQUIRED) or, find_package(libname REQUIRED) What is the difference […]
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 […]
I’m a little familiar with the std type std::string but I never see std::string_view before. std::string_view is brought by c++17. Now, I see it and wonder if there is some […]
What is the difference between Developer Command Prompt and x64 Native Tools Command Prompt of Visual Studio in 64bit Windows? The important environment variables set in x64 Native Tools Command […]