supposing that i want to create an extension for myself and nobody else, 
that this extension would allow to do something like advance searching by adding buttons in a page, how would you code the most basic version of this extension ?

No need for a manifest file nor any styles for the button, please focus on adding a button to a specific page and do something when clicked.