Skip to content

ten9miq/YahooJapan_MailNotificationExtensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yahoo Mail Notification

Japanese: README.ja.md

Chrome Web Store

This Chrome extension shows the number of new Yahoo! Mail messages in the extension badge.
It uses the browser's existing Yahoo! JAPAN login session and periodically fetches the unread mail count.

Features

  • Shows the new mail count in the extension badge
  • Refreshes the count every 30 seconds
  • Opens Yahoo! Mail when the extension icon is clicked

How It Works

This extension runs in a background Service Worker.

  1. It checks the login state and eappid from https://www.yahoo.co.jp/
  2. It fetches the mail count from https://web-yunz.yahoo.co.jp/Yunz/V1/getNotifications
  3. It updates the extension badge with the latest count

If you are not logged in to Yahoo! JAPAN, the extension cannot fetch the mail count.

Required Permissions

  • storage: Stores eappid
  • alarms: Runs periodic checks every 30 seconds
  • https://www.yahoo.co.jp/: Checks login state and retrieves eappid
  • https://mail.yahoo.co.jp/: Opens Yahoo! Mail when the icon is clicked
  • https://web-yunz.yahoo.co.jp/Yunz/V1/getNotifications: Fetches the new mail count

Privacy

This extension does not collect, transmit, or store email content such as message bodies, subject lines, senders, or recipients.
It uses the browser's logged-in Yahoo! JAPAN session only to retrieve the new mail count.
The retrieved eappid is stored locally in the browser using chrome.storage.local.
No information is sent to any external server operated by the extension developer.

Load Locally

  1. Open chrome://extensions in Chrome
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select this repository directory

File Structure

  • manifest.json: Extension manifest
  • background.js: Periodic checks, mail count fetch, and badge updates
  • icon.png: Extension icon

Notes

  • The extension may stop working if Yahoo! JAPAN changes its page structure or API response
  • Right after installation or re-login, it may take a short time before the badge updates
  • If the badge shows login or -, it indicates a login requirement or a fetch failure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors