Skip to content

Rog11/chrome-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Preview

New tab extension for chrome

Version: 1.0

This is a Chrome extension that displays the weather, temperature, humidity, wind speed, and air quality on a new tab. It also provides links to your favorite websites. You can choose between a light and dark theme.

Settings

Links

To add your own link to your favorite site, you just need to add a line to the HTML code, for example:

<a id="github" href="https://www.github.com/">
  <i class="fab fa-github"></i>
</a>

Weather Setting

To display the weather you need to have a free API key, which can be obtained from the OpenWeatherMap website. The resulting key and city name must be added to the corresponding lines of the weather.js file:

const key = 'key';
const city_name = 'city name';

If you generated a new API key and the weather doesn't work, then try to wait for a while until the key is activated.

Name Setting

To set the name you need to change the line in the greeting.js file:

var name = 'name';

About

custome chrome extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published