-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
61 lines (47 loc) · 2.28 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
CopyTabURLS - A Chrome Extension (V3) Tab URL Collector
=========================================================
Tab URL Collector is a simple Chrome extension that captures the URLs of all open tabs and displays them in a popup.
This tool is useful for quickly accessing, sharing, or saving your current session's URLs.
Features
--------
- Capture Open Tab URLs: Retrieves the URLs from all open tabs.
- Display as Clickable Links: Shows the tab titles or URLs as clickable links in a popup.
- Easy Navigation: Clicking on a link opens the tab in a new window.
Installation
------------
1. Clone the Repository
If you haven't already, clone the repository:
git clone https://github.com/luisriverag/chromext_copy-tab-urls.git
cd chromext_copy-tab-urls
2. Load the Extension in Chrome
- Open Chrome and navigate to chrome://extensions/.
- Enable Developer mode using the toggle in the upper right.
- Click "Load unpacked" and select the repository folder (where manifest.json is located).
Usage
-----
1. Click the extension icon in your Chrome toolbar.
2. The popup will display a list of URLs (or tab titles) from all open tabs.
3. Click any link to open the corresponding tab in a new window.
Files Overview
--------------
- manifest.json: Configures the extension (permissions, popup, etc.).
- popup.html: Defines the UI for the popup window.
- popup.js: Contains the JavaScript that queries open tabs and populates the popup with URLs.
- icon16.png, icon48.png, icon128.png: Icon files used for the extension (ensure these are valid PNG images).
Development
-----------
Modifications:
- Update UI: Edit popup.html and the inline CSS for any UI customizations.
- JavaScript Logic: Modify popup.js to adjust the behavior of tab querying or data display.
Debugging:
- Right-click on the popup and choose "Inspect" to open Developer Tools.
- Use console.log statements (already added in popup.js) to verify that tabs are being queried correctly.
Reloading the Extension:
- After making any changes, go to chrome://extensions/ and click "Reload" on your extension.
License
-------
This project is licensed under the MIT License.
Acknowledgments
---------------
- Utilizes the Chrome Tabs API to access open tab data.
- Thanks to the Chrome extension community for their contributions and resources.