Skip to content

techmatt101/BrandColourScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brand Colour Scraper Logo

Chrome Extension: Find website brand colours

API Example

var tabs;

window.addEventListener('brand-pages', function(response){
    tabs = response.detail.tabs;
    console.log(tabs);
    var colorRequest = new CustomEvent('brand-request-colors', { detail: { tabId: tabs[0].id }});
    window.dispatchEvent(colorRequest);
});

window.addEventListener('brand-colors', function(response){
    var colors = response.detail;
    console.log(colors);
});

var pagesRequest = new CustomEvent('brand-request-pages');
window.dispatchEvent(pagesRequest);

About

Chrome Extension: Find website brand colours

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published