Skip to content

Lafcadia/SearchButton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SearchButton

A definition of my search tag.

Why?

Because most of us do not want to bother with someone asking stupid questions, we would like to throw him

A BIG BUTTON THAT WILL TAKE HIM IMMEDIATELY TO THE SEARCH ENGINE.

like this:

Search "What is CMD?"

By writing <search type="google" content="What is CMD?" newWindow="True"></search>

Usage

It's very simple.

Example:

<search type="baidu" content="12" newWindow="true"></search>

It will show us a button. A new tab will appear by clicking the button, and it will search 12 in Baidu Search Engine.

It also supports Bing, Yandex, Sogou, 360(S360) and GitHub.

Special Thanks

Fgaoxing's Pandown-js gave me a flash of inspiration.

About

A HTML tag definition of <search> tag.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.0%
  • HTML 11.0%