This question already has answers here:...
Is it possible to find foreign instances of certain website? Ofc theese are independently opened tabs (not by window.open). I need to prevent user from opening 2 tabs, and send message to previously opened tab to inform that it's impossible to op...
I was messing around with communicating inside a Google Chrome extension and was using the following guide: https://developer.chrome.com/extensions/messaging It used to work but I have encountered an error : Error in response to tabs.query: Type...
I'm currently having an issue with getting javascript and python to communicate in web2py. controller: def testDB(): a=[] a.append('a') a.append('b') a.append('c') return dict(m=a)...
Good day to all. I need to do this: When user X press a button user Y sees a photo. Before that user Y sees nothing. I did this like this: I created a database on a mysql server and created a table with photos and flags. When user X presses the b...
I'm trying to build an Extension which sends data from the popup.html to the tab dome, but I can't get the sendMessage to work and I don't understand why. I'm following this guidline: https://developer.chrome.com/extensions/messaging....
I'm using Angular 1.5.9. Right now I have two components which need to communicate. If I change something in the first one (for example choose item in the list) => second one needs to be changed (item that was chosen needs to be displayed) a...
Is there a way for the parent to pass-in a reference of an object declared in a function in the parent window to be accessible to a child iFrame? Using postMessage doesn't do the trick, especially as IE9 doesn't support objects and data need...
I have two backends communicating to each other via sockets. On the sending one i only blast out. On the receiving one const socketIOClient = require('socket.io-client'); const sailsIOClient = require('sails.io.js'); const io = sails...
I'm trying to implement a mechanism to send textual data (JSON for instance) in from page to page, using javascript at the same machine. I found some code and wrapped it but it only works at the same page. At the moment I don't want to use...
©2020 All rights reserved.