
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Fast, light and customizable jQuery popup plugin.
Optionally, install via Bower: bower install m-popup
,
install via NPM: npm install m-popup
If you used mPopup in some interesting way, or on site of popular brand, I'd be very grateful if you <a href="mailto:mIRU.md@gmail.com?subject="Site that uses mPopup"">shoot me a link to it.
For complete documentation and examples, visit: http://mirudev.com/mpopup/
First and most important, the jQuery library needs to be included (Google cdn or local jQuery file). Next, download the package from github or install via Bower: bower install m-popup
, install via NPM: npm install m-popup
, and link the mPopup CSS file (for the theme) and the mPopup Javascript file.
<!-- jQuery library (served from Google) -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<!-- mPopup Javascript file -->
<script src="/js/mPopup.jquery.min.js"></script>
<!-- mPopup CSS file -->
<link href="/lib/mPopup.css" rel="stylesheet">
Create a <ul class="mPopup">
element, with any HTML content , in css have to show width and height of popup
<div class="mPopup">
<!-- any HTML content -->
</div>
.mPopup{
/* popup css code */
width: 60%;
height: 300px;
}
Call .mPopup() on <ul class="mPopup">
. Note that the call must be made inside of a $(document).ready() call, or the plugin will not work!
$(document).ready(function(){
// generate popup
var popup = $('.mPopup').mPopup();
// open generated popup
popup.mPopup('open');
});
Script is MIT licensed and free and will always be kept this way.
Created by @mIRUmd & contributors.
FAQs
Fast, light and customizable jQuery popup plugin.
We found that mpopup 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.