
Research
wget to Wipeout: Malicious Go Modules Fetch Destructive Payload
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
jquery.button-audio-player
Advanced tools
[GitHub](https://github.com/nullpon16tera/jquery.button-audio-player)
$ npm install jquery.button-audio-player
<link rel="stylesheet" href="./path/to/jquery.button-audio-player.css">
<script src="./path/to/jquery.js"></script><!-- jQuery fileを読み込んでください。CDNなどからご利用するのをおすすめします。 -->
<script src="./path/to/jquery.button-audio-player.js"></script>
上記CSSとJSファイルを設置したら、以下のコードを記述します。
cdnjs
<div id="bapRender"></div>
<!--
ID名は好きに記述してください。
好きな場所にDIVタグなどで配置してください。
配置したタグのID名などで呼び出すようにしてください。
-->
<script>
(function($) {
$('{ID or Class Name}').buttonAudioPlayer({
type: 'default',
src: 'path/to/example.mp3'
});
})(jQuery);
</script>
@import '~jquery.button-audio-player/dist/jquery.button-audio-player.css';
import $ from 'jquery';
window.jQuery = $;
import 'jquery.button-audio-player';
var bap = new buttonAudioPlayer({
el: '#bapRender', // {ID or Class Name}
type: 'default',
src: 'path/to/mp3 file or file url'
});
Key | Default | Description |
---|---|---|
type | default | (String) 設定は以下の通り。default、bar-animation |
src | - | (String) MP3 ファイルまでのPATHまたは、URLを記述 |
loop | true | (Boolen) ループするかしないか。下にあるloopStart、loopEndが設定されている場合は、こちらの設定はスルーされる |
loopStart | false | (Numeric) ループ時のスタート地点の秒数 1/sec |
loopEnd | false | (Numeric) ループさせるための終端地点の秒数 1/sec |
FAQs
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
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.