
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ChePollo is an ultra-simple framework for common javascript client tasks, such as:
ChePollo is:
$ npm install chepollo
oo.ready(function(){
var foo = oo.getById('foo');
oo.addClass(foo, 'pollastro');
oo.addData(foo, 'somekey', 'somedata');
oo.getData(foo, 'somekey'); // "somedata"
oo.debounce(function(){
foo.removeClass(foo, 'pollastro');
}, 1000)();
});
Class oo.
Kind: inner class of chepollo
NodeList
Element
Element
boolean
string
| undefined
*
function
on DOM ready
Kind: instance method of oo
Param | Type |
---|---|
_callback | function |
NodeList
return an array of DOM nodes using querySelectorAll()
Kind: instance method of oo
Param | Type |
---|---|
_selector | string |
Element
return a dom Element using querySelector()
Kind: instance method of oo
Param |
---|
_selector |
Element
return a DOM node using getElementById
Kind: instance method of oo
Param | Type |
---|---|
_id | string |
fadeIn a DOM element
Kind: instance method of oo
Param | Type |
---|---|
_el | Element |
_duration | int |
fadeOut a DOM element
Kind: instance method of oo
Param | Type |
---|---|
_el | Element |
_duration | int |
add a class to a DOM element
Kind: instance method of oo
Param | Type |
---|---|
_el | Element |
_classes | string |
remove a class from a DOM element
Kind: instance method of oo
Param | Type |
---|---|
_el | Element |
_classes | string |
boolean
checks if the given DOM element has a class
Kind: instance method of oo
Param | Type |
---|---|
_el | Element |
_class | string |
toggle a DOM element class
Kind: instance method of oo
Param | Type |
---|---|
_el | Element |
_class | string |
add content to a DOM element dataList
Kind: instance method of oo
Param | Type |
---|---|
_el | Element |
_key | string |
_data | string |
string
| undefined
return the content of the given dataList key
Kind: instance method of oo
Param |
---|
_el |
_key |
get data from localStorage (with cookie fallback)
Kind: instance method of oo
Param |
---|
_key |
set data in localStorage (with cookie fallback)
Kind: instance method of oo
Param |
---|
_key |
_data |
removes a key from localStorage (with cookie fallback)
Kind: instance method of oo
Param |
---|
_key |
clear localStorage (with cookie fallback)
Kind: instance method of oo
set a cookie
Kind: instance method of oo
Param |
---|
cname |
cvalue |
exdays |
*
get a cookie
Kind: instance method of oo
Param |
---|
cname |
function
debounce a function
Kind: instance method of oo
Param | Type |
---|---|
func | function |
wait | int |
immediate | boolean |
FAQs
A simple es6 class with useful methods for dom manipulation
We found that chepollo 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.