Copy code from code blocks in github by clicking the copy button without console prompts like as $,#,>

Latest Version

Version
1.0.0
Update
May 25, 2023
Size
48.45KiB
Developer
Category
Users
3
Rating
1 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
See more

Copy code without prompts Extension

This small add-on removes the characters '$' (by default) and/or '#','>' (of your choice) from the beginning of each line in console code blocks on github, thanks to the iteration of html page elements containing code blocks. This add-on is released under GPL-3.0 license. Works on page load

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 (click on the add-on icon in the extensions menu to the left of the main menu). After that, you need to reload the github page.

I decided to create this extension when I started seeing similar blocks of code often:
$ cd dir && cmake && make
# [some console command]
> [some console command]

Now, after creating this extension, I can no longer worry about deleting every character. '$','#','>' from my terminal! The previous code will be copied without prompts:
cd dir && cmake && make
[some console command]
[some console command]
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Copy code without prompts", "version": "1.0.0", "description": "Copy code from code blocks in github by clicking the copy button without console prompts like as $,#,>", "icons": { "128": "icons/128.png", "96": "icons/96.png", "48": "icons/48.png", "32": "icons/32.png" }, "author": "gH2843", "homepage_url": "https://github.com/gH2843/Copy-code-without-prompts", "short_name": "\u0421opyCodeWP", "permissions": ["storage"], "action": { "default_icon": { "16": "icons/16.png", "32": "icons/32.png" }, "default_title": "choose console prompts", "default_popup": "src/popup.html" }, "content_scripts": [ { "matches": ["*://github.com/*"], "run_at": "document_idle", "js": ["src/main.js"] } ]}
Read more

How to download and manually install Copy code without prompts extension for Chrome

Looking for a way to install Copy code without prompts extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Copy code without prompts extensions manually, this article outlines two simple methods to effortlessly install Copy code without prompts extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Copy code without prompts extension and manually install through Drag &Drop

If you ever need to manually install a Copy code without prompts extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Copy code without prompts Extension by clicking the "Download CRX" button on the website.

Look for the Copy code without prompts extension you wish to install. Go to the website and download the Copy code without prompts extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Copy code without prompts extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Copy code without prompts extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Copy code without prompts extension for Chrome and install in Developer Mode

This is another method to install Copy code without prompts extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Copy code without prompts extension file

Select and download the Copy code without prompts extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Copy code without prompts extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Copy code without prompts extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Copy code without prompts extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Copy code without prompts extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

CSS Selector Capture Pro Extension · Developer Tools 3 11 ★ 116KiB

icon

cocopy Extension · Productivity 3 7 ★ 2.14MiB

icon

Github to vscode Extension · Developer Tools 3 2 ★ 15.53KiB

icon

Open with Visual Studio Code - Github Extension · Productivity 3 2 ★ 47.19KiB

icon

GL Git Clone Extension · Developer Tools 3 1 ★ 55.18KiB

icon

codebox-one click code copying without login Extension · Developer Tools 3 44 ★ 5.78MiB

icon

Google Apps Script GitHub Assistant Extension · Developer Tools 3 98 ★ 153KiB

icon

Pause Script Execution Extension · Developer Tools 3 5 ★ 70.92KiB

icon

GitHub LOC Extension · Developer Tools 3 3 ★ 733KiB

icon

Clone in VS Code Extension · Developer Tools 3 1 ★ 18.28KiB

icon

Copy as Python Requests Extension · Developer Tools 3 2 ★ 23.94KiB

icon

Don't F*** With Paste Extension · Productivity 3 653 ★ 85.67KiB

icon

Gitd Download Manager Extension · Developer Tools 3 1 ★ 69.96KiB

icon

Open in VSCode Extension · Developer Tools 3 4 ★ 60.87KiB

icon

Allow Copy/Paste Extension · Accessibility 3 4 ★ 29.9KiB

icon

GitHub Whitespace Extension · Developer Tools 3 10 ★ 15.73KiB

icon

Copy Text from HTML Extension Extension · Productivity 3 0 ★ 1.54MiB

icon

??‍♀️Copy Genie Extension · Productivity 3 1 ★ 88.95KiB

icon

GitHub Merge Guardian Extension · Developer Tools 3 0 ★ 306KiB

icon

Open GitHub in IDE Extension · Developer Tools 3 9 ★ 208KiB

icon

Copy Tabs Title URL Extension · Accessibility 3 0 ★ 11.42KiB

icon

URLDecodeCopy Extension · Accessibility 3 1 ★ 30.64KiB

icon

Markdown Preview Plus Extension · Productivity 3 234 ★ 2.24MiB

icon

Copy-Code Extension · Developer Tools 3 1 ★ 569KiB