You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.
nodejs module where we can connect and then start using the remote objects directly as if local?
var moz = require('mozrepl');
var conn1 = moz.connect('127.0.0.1' , '4747');
var conn2 = moz.connect('127.0.0.1' , '4748');
var gbrwoser1; var gbrowser2;
if (conn.connected=true){
gbrowser1=conn1.otherEnd.content;
}
if (conn2.connected=true){
gbrowser2=conn2.otherEnd.content;
}
//start using "window" of the other end as if its local.
if (gBrowser1.location.href == gBrowser2..location.href) {
gBrowser1.alert('hey! the other browser has the same page open .');
gBrowser2.alert('hey! the other browser has the same page open .');
}
The text was updated successfully, but these errors were encountered:
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
nodejs module where we can connect and then start using the remote objects directly as if local?
var moz = require('mozrepl');
var conn1 = moz.connect('127.0.0.1' , '4747');
var conn2 = moz.connect('127.0.0.1' , '4748');
var gbrwoser1; var gbrowser2;
if (conn.connected=true){
gbrowser1=conn1.otherEnd.content;
}
if (conn2.connected=true){
gbrowser2=conn2.otherEnd.content;
}
//start using "window" of the other end as if its local.
if (gBrowser1.location.href == gBrowser2..location.href) {
gBrowser1.alert('hey! the other browser has the same page open .');
gBrowser2.alert('hey! the other browser has the same page open .');
}
The text was updated successfully, but these errors were encountered: