
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
derbysoft-all-in-one-help-widget
Advanced tools
Using NPM
:
$ npm install derbysoft-all-in-one-help-widget
You can use AllInOneHelpWidget
constructor to initial all the widgets and render the action button.
import AllInOneHelpWidget from 'derbysoft-all-in-one-help-widget';
new AllInOneHelpWidget({
[AllInOneHelpWidget.GoogleAnalytics]: {
id: 'GOOGLE_ANALYTICS_ID',
enabled: true
},
[AllInOneHelpWidget.Smartlook]: {
id: 'SMART_LOOK_ID',
enabled: true
},
[AllInOneHelpWidget.ProductTours]: {
id: 'PRODUCT_TOURS_ID',
enabled: true
},
[AllInOneHelpWidget.KnowledgeBase]: {
id: 'KNOWLEDGE_BASE_ID',
enabled: true
},
[AllInOneHelpWidget.Feedback]: {
id: 'FEED_BACK_ID',
enabled: true
}
}).render();
Or you can create an instance and call methods to initial widgets.
// Import AllInOneHelpWidget
import AllInOneHelpWidget from 'derbysoft-all-in-one-help-widget';
// Create an instance
const allInOneHelpWidget = new AllInOneHelpWidget();
// Initial GoogleAnalytics
allInOneHelpWidget.initGoogleAnalytics({
id: 'GOOGLE_ANALYTICS_ID',
enabled: true
});
// Initial Smartlook
allInOneHelpWidget.initSmartlook({
id: 'SMART_LOOK_ID',
enabled: true
});
// Initial Feedback
allInOneHelpWidget.initFeedback({
id: 'FEED_BACK_ID',
enabled: true
});
// Initial KnowledgeBase
allInOneHelpWidget.initKnowledgeBase({
id: 'KNOWLEDGE_BASE_ID',
enabled: true
});
// Initial ProductTours
allInOneHelpWidget.initProductTours({
id: 'PRODUCT_TOURS_ID',
enabled: true
});
// Render action button
allInOneHelpWidget.render();
You can pass an object
type options to config AllInOneHelpWidget
.
const allInOneHelpWidget = new AllInOneHelpWidget({
parentEl: document.body,
position: AllInOneHelpWidget.Position.BOTTOM_RIGHT,
locale: "en-US"
});
Option | Description | Default value |
---|---|---|
parentEl | Parent container of the component button | document.body |
position | Location of component buttons | AllInOneHelpWidget.Position.BOTTOM_RIGHT |
locale | Languages applied within components | "en-US" |
You can config the widget when initialing.
Option | Description | Default value |
---|---|---|
id | Injected into the id of the plugin | undefined |
enabled | If true, the plugin will be injected into the page | false |
activated | Only KnowledgeBase has this option, if it is false, the KnowledgeBase option button will be disabled. | false |
Activate the KnowledgeBase option button.
const allInOneHelpWidget = new AllInOneHelpWidget();
allInOneHelpWidget.activateKnowledgeBase();
Disable the KnowledgeBase option button.
const allInOneHelpWidget = new AllInOneHelpWidget();
allInOneHelpWidget.deactivateKnowledgeBase();
Replace the parent container of a component button.
const allInOneHelpWidget = new AllInOneHelpWidget();
allInOneHelpWidget.replaceParentEl(ducument.body);
Replace the position of the component button.
const allInOneHelpWidget = new AllInOneHelpWidget();
allInOneHelpWidget.updatePosition(AllInOneHelpWidget.Position.BOTTOM_RIGHT);
Replace the language applied within the component.
const allInOneHelpWidget = new AllInOneHelpWidget();
allInOneHelpWidget.updateLocale('en-US');
FAQs
Derbysoft All In One Help Widget
We found that derbysoft-all-in-one-help-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.