Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
popup-window
Advanced tools
Readme
let win = new Popup(
'http://webdeveric.com/',
{
name: 'window name goes here', // Optional
width: 600,
height: 400
}
);
win.opened( ( win ) => {
console.log('Popup has been opened');
}).blocked( ( win ) => {
console.log('Popup has been blocked');
}).closed( ( win ) => {
console.log('Popup has been closed');
});
win.open();
The window will have these features by default.
You can pass in an object with some or all of these settings to the constructor, as shown above.
If the width
or height
is null, it will be calculated to be half the screen width/height.
If the left
or top
is null, it will be calculated so that the window is in the center of the screen.
{
width: null,
height: null,
left: null,
top: null,
menubar: 0,
toolbar: 0,
location: 1,
status: 1,
resizable: 1,
scrollbars: 1
}
The opened
, closed
, and blocked
callbacks receive the Popup
instance as the only argument.
FAQs
Open popup windows
The npm package popup-window receives a total of 65 weekly downloads. As such, popup-window popularity was classified as not popular.
We found that popup-window demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.