A simple Chrome extension to shorten URLs using TinyURL. This extension allows you to quickly shorten URLs and copy them to your clipboard, making it easy to share links on social media or via email.
- Shorten URLs using TinyURL API
- Clean and elegant popup interface
- Copy shortened URL to clipboard
-
Clone or download the repository:
git clone https://github.com/cirizzil/SimpleShortUrlExt.git
Alternatively, you can download the ZIP file and extract it.
-
Open Chrome and navigate to the Extensions page:
chrome://extensions/
-
Enable Developer mode:
- Toggle the switch in the top right corner to enable Developer mode.
-
Load the unpacked extension:
- Click on the "Load unpacked" button.
- Select the
URL_shortener
folder.
-
The extension is now installed and ready to use.
- Click on the URL Shortener extension icon in the Chrome toolbar.
- Enter the URL you want to shorten in the input field.
- Click the "Shorten URL" button.
- The shortened URL will be displayed in a box below, along with a "Copy" button.
- Click the "Copy" button to copy the shortened URL to your clipboard.
manifest.json
- Defines the extension's configuration and permissions.background.js
- Handles background tasks such as interacting with the TinyURL API.popup.html
- The HTML structure of the popup interface.popup.js
- The JavaScript logic for the popup interface.styles.css
- The CSS styles for the popup interface.icon.png
- The icon for the extension.
- TinyURL for their API service.