All Projects → doubi-NO1 → TabMessage

doubi-NO1 / TabMessage

Licence: other
浏览器tab之间通信

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to TabMessage

rx-postmessenger
Minimal RxJS adapter for the window.postMessage API for request-response streams and notification streams across frame windows.
Stars: ✭ 27 (+42.11%)
Mutual labels:  postmessage
trainmanjs
TrainmanJS - Cross-Origin Communication Library
Stars: ✭ 16 (-15.79%)
Mutual labels:  postmessage
ember-window-messenger
This aims to be an simple window postMessage services provider.
Stars: ✭ 17 (-10.53%)
Mutual labels:  postmessage
post-messenger
👶 ~1 Kb wrapper of window.postMessage for cross-document communication.
Stars: ✭ 28 (+47.37%)
Mutual labels:  postmessage
chronosjs
JS Channels (Events / Commands / Reqest-Response / Courier) Mechanism
Stars: ✭ 35 (+84.21%)
Mutual labels:  postmessage
Across Tabs
Easy communication between cross-origin browser tabs. Simplified "CORS"ing!
Stars: ✭ 1,575 (+8189.47%)
Mutual labels:  postmessage
Postmate
📭 A powerful, simple, promise-based postMessage library.
Stars: ✭ 1,638 (+8521.05%)
Mutual labels:  postmessage
DetectCrossOriginMessaging
This Burp extension helps you to find usages of postMessage and recvMessage
Stars: ✭ 12 (-36.84%)
Mutual labels:  postmessage
ibridge
Typesafe iframe bridge for easy parent child bidirectional communication
Stars: ✭ 25 (+31.58%)
Mutual labels:  postmessage
postmessagejs
postmessage-promise is a client-server like, WebSocket like, full Promise syntax (postMessage.then etc.) supported postMessage library. 一个类 client-server 模式、类 WebSocket 模式、全 Promise 语法支持的 postMessage 库
Stars: ✭ 33 (+73.68%)
Mutual labels:  postmessage
messpostage
PostMessage extension
Stars: ✭ 74 (+289.47%)
Mutual labels:  postmessage
PostEvent
A Cross-Domain Event Handler javascript library. Pure Vanilla JS, no dependencies.
Stars: ✭ 14 (-26.32%)
Mutual labels:  postmessage

简易的浏览器选项卡间通信库

使用方法

初始化

  Notify.init("../core/notify.html", null, "Duplex");

接收

  Notify.receive(function (obj) {
    console.log(obj);
  });

发送

  //send内容随意,这里只做演示
  Notify.send({ from: 'which tab', message: 'your message'});

查看示例

在线地址

查看

本地查看

  git clone https://github.com/doubi-NO1/TabMessage.git

  cd TabMessage
  
  node server.js

浏览器打开两个选项卡,分别输入http://localhost:9090/test/tab1.htmlhttp://localhost:9090/test/tab2.html

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].