Your question is a little vague, but if I correctly understand...
If you want to fill-out a field on a webpage and/or click a button, then you probably want to use a Firefox extension called Tampermonkey.
Tampermonkey allows you to create scripts for any website(s) you desire, and those scripts will inject (and run) additional javascript code (that you provide) on the page. Frankly, it works amazingly well - I have created scripts for dozens and dozens of websites that do everything from logging me in to a site, to removing ads/images/clutter, to completely reformatting the page.
Obviously, TM scripts only run on your computer and only change the website appearance for you, on that computer only.
A basic Tampermonkey script looks like this:
// ==UserScript==
// @name SO Hide HNQ
// @namespace http://tampermonkey.net/
// @match https://stackoverflow.com/questions/*
// @match https://stackoverflow.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
var myHnq = document.getElementById('hot-network-questions');
myHnq.style.display = 'none';
})();
Note that it is also possible to use jQuery in your TM scripts by adding this line
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js
somewhere in the // ==/UserScript==
block.