Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
angular-dfp
Advanced tools
Semantic DoubleClick for Publishers (DFP by Google) integration with AngularJS.
<dfp-ad force-safe-frame collapse-if-empty ad-unit="/path/to/my/ad-unit">
<dfp-size width="728" height="90"></dfp-size>
</dfp-ad>
AngularDfp allows you to interact with Google's GPT library and DFP services using only Angular directives, effectively replacing any JavaScript to define and customize your ad slots, as you usually would. Also, it was built especially with infinite-scroll and other dynamic content strategies in mind and has out-of-the-box support for it.
This library solves two problems:
We have defined (nested) directives that effectively cover all the functionality of the GPT library.
In the simplest case, you'll simply want to define an ad with a fixed size. In
that case, you would have a dfp-ad
directive, which requires at least one
nested dfp-size
directive. The dfp-ad
directive additionally takes some
optional attributes, such as the collapseEmptyDiv
option you may be familiar
with from the GPT library. For all options, refer to the documentation, which
can be generated from jsdoc with gulp docs
:
<dfp-ad force-safe-frame
collapse-if-empty
refresh='3s'
ad-unit="/path/to/my/ad-unit">
<dfp-size width="728" height="90"></dfp-size>
</dfp-ad>
A live demo can be found at angular-dfp-demo.appspot.com.
This project is released under the Apache License. For more information, see the LICENSE file.
FAQs
Semantic DoubleClick integration with AngularJS
The npm package angular-dfp receives a total of 27 weekly downloads. As such, angular-dfp popularity was classified as not popular.
We found that angular-dfp 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.