
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
#use document
npm install mScroll --save
1. npm run build
1. browserify mscroll.js --deubg > bundle.js
1. in browser use bundle.js
##dependency
zepto-modules
.pull
var Pull = mScroll.pull;
var refresh = new Pull ('.js-content', {
msgElement: '.js-msgwrap',
msgs: ['下拉刷新.....', '释放刷新'],
distance: 10,
start: function () {
//console.info('start');
},
move: function () {
//console.info('move');
},
end: function () {
//console.info('end');
},
onRefresh: function () {
let ul = document.querySelector('.js-ul');
let random = 1;
// after refresh do something you want
setTimeout(() => {
this.backTop();
ul.innerHTML = '';
for (let i = 0; i< 25; i++) {
random = (Math.random() * (20 - 1) + 1).toFixed(0);
ul.innerHTML +=`<li>
我是刷新后内容${random}
</li>`;
}
}, 1000);
}
});
.more
FAQs
mScroll pull down refresh, pull up load more.
The npm package mscroll receives a total of 9 weekly downloads. As such, mscroll popularity was classified as not popular.
We found that mscroll 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
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.