Skip to content

Commit 3f7680b

Browse files
authored
Merge pull request #1 from davidhuangsh-lgtm/master
04-quick-access-tab
2 parents 9e00700 + 53ab723 commit 3f7680b

File tree

13 files changed

+1299
-0
lines changed

13 files changed

+1299
-0
lines changed

04-quick-access-tab/LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2025 yszdlzn3195918
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

04-quick-access-tab/README.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Quick Access Tab
2+
3+
Version: 1.2.4
4+
5+
Developer: yszdlzn3195918
6+
7+
## Overview
8+
9+
Quick Access Tab is a lightweight, modern Google Chrome extension designed to replace the default new tab page. It provides a streamlined interface focusing on productivity and aesthetics, featuring an integrated Google search bar, customizable quick navigation links, a persistent note-taking system, and a weekly reminder tracker.
10+
11+
The application utilizes local storage to persist user data (notes and reminders) without requiring external database connections or account creation.
12+
13+
## Features
14+
15+
### Integrated Search:
16+
17+
A central search bar that queries Google directly. The input field automatically focuses upon opening a new tab for immediate typing.
18+
19+
### Quick Navigation:
20+
21+
Pre-configured shortcuts to frequently visited websites and social media profiles.
22+
23+
### Productivity Tools:
24+
25+
- Weekly Reminders: A dedicated panel for managing recurring weekly tasks, capable of filtering views by the current day.
26+
27+
- Dynamic Interface: Features a glassmorphism-inspired design with subtle animations, responsive layout, and real-time date/time display (GMT offset included).
28+
29+
## Project Structure
30+
31+
The project consists of the following core files:
32+
33+
- manifest.json: The configuration file required by Chrome to define extension permissions, versioning, and the new tab override setting.
34+
35+
- newtab_modern.html: The main HTML structure defining the layout of the new tab page.
36+
37+
- styles.css: Contains all styling rules, including animations, responsive breakpoints, and the dark-themed color palette.
38+
39+
- script.js: Handles the application logic, including time updates, local storage management for notes/reminders, and DOM manipulation.
40+
41+
- img/: A directory containing the image assets used for the quick link icons.
42+
43+
## Installation Instructions
44+
45+
To install this extension in Google Chrome:
46+
47+
- Download the project files to a local directory. Ensure the img folder is present and contains the necessary assets.
48+
49+
- Open Google Chrome and navigate to chrome://extensions/.
50+
51+
- Enable Developer mode using the toggle switch in the top right corner.
52+
53+
- Click the Load unpacked button.
54+
55+
- Select the directory containing the project files (manifest.json must be in the root of this directory).
56+
57+
- Open a new tab to verify the installation.
58+
59+
## Personalization Guide
60+
61+
Users may wish to modify the default "Quick Links" to reflect their own preferred websites. This requires editing the HTML source code.
62+
63+
### Modifying Quick Links
64+
65+
- Open newtab_modern.html in a text editor (e.g., Notepad, VS Code, Sublime Text).
66+
67+
- Locate the section containing the class quick-links.
68+
69+
- Each link is wrapped in an anchor tag (<a ...>). To change a link, modify the following attributes:
70+
71+
- Link URL: Change the href attribute to the desired destination URL.
72+
73+
- Image: Change the src attribute of the <img> tag to point to your new image file.
74+
75+
- Label: Update the text inside the <p> tag.
76+
77+
### Adding Custom Images
78+
79+
- Save your desired icon images (square aspect ratio recommended) into the img/ folder.
80+
81+
- Reference the filename in the src attribute as shown in the example above.
82+
83+
## Data Persistence
84+
85+
This extension stores user data (Notes and Reminders) in the browser's localStorage. Clearing the browser's cache or local data for the extension will result in the loss of saved notes and reminders.
86+
87+
## License
88+
89+
This project is provided for personal use. All rights reserved by the developer.

04-quick-access-tab/img/carin.jpg

23.8 KB
Loading

04-quick-access-tab/img/gmail.jpg

21.3 KB
Loading

04-quick-access-tab/img/lynn.jpg

21.2 KB
Loading

04-quick-access-tab/img/yui.jpg

33.2 KB
Loading

04-quick-access-tab/img/yuki.jpg

44.1 KB
Loading

04-quick-access-tab/img/yuno.jpg

193 KB
Loading

04-quick-access-tab/manifest.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"manifest_version": 3,
3+
"name": "Quick Access Tab",
4+
"version": "1.2.4",
5+
"description": "Custom new tab with Google search + quick links",
6+
"chrome_url_overrides": {
7+
"newtab": "newtab_modern.html"
8+
}
9+
}
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>New Tab</title>
7+
<link rel="stylesheet" href="styles.css">
8+
</head>
9+
<body>
10+
<div class="background-overlay"></div>
11+
12+
<header class="header">
13+
<div class="quick-links">
14+
<a href="https://x.com/Carin_Official" class="quick-link" target="_blank" rel="noopener">
15+
<div class="quick-link-image">
16+
<img src="img/carin.jpg" alt="礒部花凜">
17+
<div class="quick-link-overlay"></div>
18+
</div>
19+
<p>礒部花凜</p>
20+
</a>
21+
<a href="https://x.com/yuno_yumemita" class="quick-link" target="_blank" rel="noopener">
22+
<div class="quick-link-image">
23+
<img src="img/yuno.jpg" alt="千石ユノ">
24+
<div class="quick-link-overlay"></div>
25+
</div>
26+
<p>千石ユノ</p>
27+
</a>
28+
<a href="https://x.com/yuki_nakashim" class="quick-link" target="_blank" rel="noopener">
29+
<div class="quick-link-image">
30+
<img src="img/yuki.jpg" alt="中島由貴">
31+
<div class="quick-link-overlay"></div>
32+
</div>
33+
<p>中島由貴</p>
34+
</a>
35+
<a href="https://x.com/YUI_STAFF" class="quick-link" target="_blank" rel="noopener">
36+
<div class="quick-link-image">
37+
<img src="img/yui.jpg" alt="石川由依">
38+
<div class="quick-link-overlay"></div>
39+
</div>
40+
<p>石川由依</p>
41+
</a>
42+
<a href="https://x.com/Lynn_0601_" class="quick-link" target="_blank" rel="noopener">
43+
<div class="quick-link-image">
44+
<img src="img/lynn.jpg" alt="Lynn">
45+
<div class="quick-link-overlay"></div>
46+
</div>
47+
<p>Lynn</p>
48+
</a>
49+
<a href="https://mail.google.com/mail" class="quick-link" target="_blank" rel="noopener">
50+
<div class="quick-link-image">
51+
<img src="img/gmail.jpg" alt="Gmail">
52+
<div class="quick-link-overlay"></div>
53+
</div>
54+
<p>Gmail</p>
55+
</a>
56+
</div>
57+
<div class="info-panel">
58+
<div class="time-display">
59+
<span id="time" class="time"></span>
60+
<span id="date" class="date"></span>
61+
</div>
62+
</div>
63+
</header>
64+
65+
<main class="main-content">
66+
<section class="search-main-section">
67+
<form class="search-form" action="https://www.google.com/search" method="get" autocomplete="off">
68+
<div class="search-wrapper">
69+
<input type="text" name="q" placeholder="Search Google..." id="main-search-input">
70+
</div>
71+
</form>
72+
</section>
73+
74+
<div class="notes-reminders-container">
75+
<section class="reminders-section">
76+
<div class="section-header">
77+
<h2 class="section-title">Weekly Reminders</h2>
78+
<button id="add-reminder-btn" class="btn-add-reminder">+</button>
79+
</div>
80+
<ul id="reminders-list" class="reminders-list"></ul>
81+
</section>
82+
83+
<section class="notes-section">
84+
<h2 class="section-title">Quick Notes</h2>
85+
<div class="notes-container">
86+
<div class="note-input-group">
87+
<input id="note-input" type="text" placeholder="Add a new note..." maxlength="100">
88+
<button id="add-note" class="btn-add">
89+
<span>+</span>
90+
</button>
91+
</div>
92+
<ul id="notes-list" class="notes-list"></ul>
93+
</div>
94+
</section>
95+
</div>
96+
</main>
97+
98+
<div id="reminder-panel" class="reminder-panel">
99+
<div class="panel-content">
100+
<h3>Add New Reminder</h3>
101+
<div class="panel-body">
102+
<input type="text" id="reminder-text" placeholder="Reminder text..." maxlength="100">
103+
<select id="reminder-day">
104+
<option value="0">Sunday</option>
105+
<option value="1">Monday</option>
106+
<option value="2">Tuesday</option>
107+
<option value="3">Wednesday</option>
108+
<option value="4">Thursday</option>
109+
<option value="5">Friday</option>
110+
<option value="6">Saturday</option>
111+
</select>
112+
<button id="add-to-list" class="btn-add-to-list">Add to List</button>
113+
<div id="pending-reminders" class="pending-reminders"></div>
114+
</div>
115+
</div>
116+
</div>
117+
118+
<script src="script.js"></script>
119+
</body>
120+
</html>

0 commit comments

Comments
 (0)