l can use chrome’s console to change javascript context diretly by it’s button,so how can l do it on firfox?lf l can do it , where’s the button ?
Hello @wuchansoon
i do not think so but let me ask @jwhitlock if he know a way to do that
and have a nice day both of you
thank you very much
i think it is importent because i am a new hand in javascript and firfox ,if firfox doesn’t have the method ,the only way for me is to use chrome
This page is a good introduction to the Firefox developer tools:
I get to them via the menu:
or by right-clicking and selecting “Inspect”:
ln chrome , i can change javascript context by use the button ‘‘top’’.
when i clicked it it will gave me a list to choose the javascript context.
But in firfox’s web console , i can’t find a button like this.
i just want to know of firfox gives us a method like the chrome’s button,and if it has ,how can i use it?
i have read the page and it doesn’t solve my question.@jwhitlock
thank you very much
Thanks for the additional information. I confirmed in the Chrome docs that this is called " Select JavaScript context":
I then searched for “firefox switch browser context”, and found this article which directly answers your question:
The UI may be different from the article. I wasn’t able to see the button unless I loaded settings, and then I saw it as a disabled button:
For me, the button was enabled on Gmail, and allowed me to pick between a dozen contexts.