Copy code without prompts
Copy code from code blocks in github by clicking the copy button without console prompts like as $,#,>
This small add-on, developed by gH2843, removes the characters '$' (by default) and/or '#','>' (of your choice) from the beginning of each line in console code blocks on github. It works by iterating through the HTML page elements containing code blocks. The add-on is released under the GPL-3.0 license and works on page load.
With this add-on, you can choose which characters will be removed from the beginning of the lines of code blocks by selecting them from the pop-up menu. Simply click on the add-on icon in the extensions menu to the left of the main menu and make your selections. After that, you just need to reload the github page.
The developer of this add-on, gH2843, created it after encountering similar blocks of code frequently. With this extension, there is no need to manually delete every character like '$', '#', or '>'. The code will be copied without any prompts, making the process much more streamlined.
Now, you can simply copy code from code blocks on github without worrying about deleting any unnecessary characters. It's a convenient tool for developers who frequently work with console code blocks.