Skip to content

Add an additional search button on Google search page using a chrome extension

Notifications You must be signed in to change notification settings

SunilSyal/Chrome-Extension---Inject-Custom-Javascript-and-CSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chrome extension - Sample code to add an additional search button

This chrome extension is the bare minimum that you need to inject custom javascript and CSS file in a webpage. This code will add an additional search button on Google search page.

How to add extension

To add the extension on your local machine chrome browser - watch the following video. IMAGE ALT TEXT HERE

How to change the search keyword

  • Open init.js
  • Replace Mathemafia with your search keyword
  • If it is a single word, you are done
  • If your search has multiple words, then replace the event.target.value.split(" ")[1] with event.target.value.slice(str.indexOf(" "));

About

Add an additional search button on Google search page using a chrome extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published