Firefox Extensions - communicating data over https

Hi experts.... a tough one I fear....

Lets assume the following.

Our user has a Firefox extension installed created by us.

First:       We need to activate this extension/plug-in on a page rendered using a secure protocol (https)?
Second: Can we then analyse information presented on that page and request the user to perform an action?

The key here I see is having the ability to process (with user interaction) over https

Your thoughts are greatly received, I look forward to hearing from you.

Regards

Damien
LVL 4
wilson1000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

thehagmanCommented:
I'm not sure if I see where your problem is.
From within your extension's overlay.js you can (under appropriate conditions) change the currently displayed page via
getBrowser().selectedBrowser.loadURI("https://www.whatever.com/");

Open in new window

0
wilson1000Author Commented:
Hi, Could you elaborate on your answer and just explain a little bit about how this could process information on a page rendered in https please?

I ask because I know very little about Firefox extensions at the moment. My training begins on Wednesday.

Thank you
0
thehagmanCommented:
I hope you know how to put up the basic framework of an extension after that training.
Once you know what th efollowing terms mean, you should be able to add a listener for the DOMContentLoaded event and in that you might inspect
var uri = getBrowser().selectedBrowser.currentURI;
and if it refers to the https page you redirected to, you can access the page content, e.g. via its DOM tree.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wilson1000Author Commented:
This was a great help thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.