New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cagovweb/cal-ds-banner

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cagovweb/cal-ds-banner

cal-ds-banner top banner

  • 0.0.1-beta5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by25%
Maintainers
0
Weekly downloads
 
Created
Source

cal-ds-banner

Banner for the top of any page

<html>
  ...
  <body>
    <cal-ds-banner>
      <template>
        <p>Banner on the top</p>
      </template>
    </cal-ds-banner>

    <cal-ds-banner data-target="header">
      <template>
        <p>Banner on the top of the HEADER</p>
      </template>
    </cal-ds-banner>

    <cal-ds-banner data-target="header > span">
      <template>
        <p>Banner on the top of the first direct SPAN in HEADER</p>
      </template>
    </cal-ds-banner>

Try this on any page on the web!

Place this in the web console

document.head.appendChild(Object.assign(document.createElement("script"), {src: "https://cdn.jsdelivr.net/npm/@cagovweb/cal-ds-banner",type:"module"}));document.body.innerHTML += `<cal-ds-banner><template><strong>Live now:</strong> Press conference | <a href="">Priorities</a></template></cal-ds-banner>`;

Keywords

FAQs

Package last updated on 24 Jun 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc