Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sysend

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sysend - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

2

package.json
{
"name": "sysend",
"version": "1.11.0",
"version": "1.11.1",
"description": "Web application synchronization between different tabs",

@@ -5,0 +5,0 @@ "main": "sysend.js",

@@ -5,4 +5,4 @@ <p align="center">

[![npm](https://img.shields.io/badge/npm-1.11.0-blue.svg)](https://www.npmjs.com/package/sysend)
![bower](https://img.shields.io/badge/bower-1.11.0-yellow.svg)
[![npm](https://img.shields.io/badge/npm-1.11.1-blue.svg)](https://www.npmjs.com/package/sysend)
![bower](https://img.shields.io/badge/bower-1.11.1-yellow.svg)
![downloads](https://img.shields.io/npm/dt/sysend.svg)

@@ -99,10 +99,9 @@ [![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/sysend)](https://www.jsdelivr.com/package/npm/sysend)

## Demo
## Demos
Open this [demo page](http://jcubic.pl/sysend.php) in two tabs/windows (there is also link to other domain).
* [Simple demo using iframes](https://jcubic.pl/sysend-demo/).
* [All feature demo](http://jcubic.pl/sysend.php) (this one require open in two tabs/windows, there is also link to other domain).
* [ReactJS shopping cart synchronization](https://codepen.io/jcubic/pen/QWgmBmE).
* [multiple window tracking demo](https://jcubic.pl/windows.html). Open the link in multiple windows (not tabs). First window will track position and size for all windows.
Here is another example that shows [ReactJS shopping cart synchronization](https://codepen.io/jcubic/pen/QWgmBmE).
And here is [multiple window tracking demo](https://jcubic.pl/windows.html). Open the link in multiple windows (not tabs). First window will track position and size for all windows.
![Screen capture of Operating System Windows dragging and moving around animation](https://github.com/jcubic/sysend.js/blob/master/assets/windows-demo.gif?raw=true)

@@ -109,0 +108,0 @@

/**@license
* sysend.js - send messages between browser windows/tabs version 1.11.0
* sysend.js - send messages between browser windows/tabs version 1.11.1
*

@@ -4,0 +4,0 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me>

/**@license
* sysend.js - send messages between browser windows/tabs version 1.11.0
* sysend.js - send messages between browser windows/tabs version 1.11.1
*

@@ -254,8 +254,2 @@ * Copyright (C) 2014-2022 Jakub T. Jankiewicz <https://jcubic.pl/me>

// -------------------------------------------------------------------------
function on_load() {
return new Promise(function(resolve) {
window.addEventListener('load', resolve, true);
}).then(iframe_loaded);
}
// -------------------------------------------------------------------------
function iframe_loaded() {

@@ -273,4 +267,4 @@ var iframes = Array.from(document.querySelectorAll('iframe'));

})).then(delay(sysend.timeout));
// delay is required, something with browser is not intitled properly
// the number was pick by experimentation
// delay is required, something with browser, it's not intialized
// properly. The number was picked by experimentation
}

@@ -575,3 +569,3 @@ // -------------------------------------------------------------------------

// and is not be hidden
if (!document.hidden) {
if (last) {
become_primary();

@@ -600,3 +594,3 @@ }

on_load().then(function() {
iframe_loaded().then(function() {
sysend.list().then(function(list) {

@@ -603,0 +597,0 @@ target_count = list.length;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc