I'm a web and mobile app developer, I've 5 years of experience in developing extensions for Google Chrome, Firefox and Safari,
I got your idea, there will be set of key-value pairs, I can map DOM elements like INPUT, SELECT and TEXTAREA with keys.
This pair is saved by current page URL.
If that page is already with keys, corresponding values will be filled automatically when clicked on extension.