Skip to content

View Source Copier is a lightweight Chrome extension that allows you to copy the full HTML source code of any web page with just one click.

Notifications You must be signed in to change notification settings

kyawthet-naing/view-source-copier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

View Source Copier

View Source Copier

Description

View Source Copier is a lightweight Chrome extension that allows you to copy the full HTML source code of any web page with just one click. Perfect for developers, testers, or anyone who needs quick access to the complete page source.


Features

  • Copy the entire HTML content of the active tab instantly.
  • Simple and user-friendly popup interface.
  • Supports all websites (<all_urls> permission).
  • Lightweight with minimal permissions for security.
  • Displays a toast notification on success or failure.

Installation

From source (for developers or manual installation):

  1. Clone or download this repository.
  2. Open Chrome and navigate to chrome://extensions/.
  3. Enable Developer mode (top right toggle).
  4. Click Load unpacked and select the extension folder.
  5. The extension will load and the icon will appear in the toolbar.

From Chrome Web Store (coming soon)


Usage

  1. Click the extension icon in your Chrome toolbar.
  2. Click the GET button.
  3. The full HTML source of the current tab is copied to your clipboard.
  4. A notification toast will inform you if the copy was successful or if it failed.

How to Pin the Extension Icon

To keep the extension icon visible in your Chrome toolbar:

  1. Click the Extensions (puzzle piece) icon near the address bar.
  2. Find View Source Copier in the dropdown list.
  3. Click the pin icon next to it.
  4. The icon will now stay permanently visible on the toolbar for easy access.

Permissions

  • scripting: Injects scripts to extract page source.
  • activeTab: Access to the active tab to read its contents.
  • clipboardWrite: Write to the system clipboard.
  • <all_urls>: Works on any website URL.

Developer

Kyaw Thet Naing
kyawthet.com


License

MIT License © 2025 Kyaw Thet Naing


Contributing

Feel free to submit issues or pull requests to improve this extension!


Acknowledgments

  • Built with Chrome Extensions Manifest V3
  • Inspired by common developer needs to quickly access page source

About

View Source Copier is a lightweight Chrome extension that allows you to copy the full HTML source code of any web page with just one click.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published