I want to know what is the current URL of the active tab running with python module, what is Firefox, there is an API for this And does the dragon have to work with it?
Open a Firefox extension to open a TCP service, then you can exchange information with Firefox can do.
You can set up a Telnet service, you can call the js-like command to get the information.
With the TeleNetScript (http: //code.activestate.com/recipes/152043/), you can type:
import TelnetScript script = "" "rve W content.location.href; ru Repl> w repl.quit () cl "" conn = telnetscript.telnetscript ('127.0.0.1', {}, 4242) ret = conn.runScript (script.split ('\ n' ) Partition ('\ N') Print Rate [-2] [6:]
Comments
Post a Comment