Socket
Book a DemoInstallSign in
Socket

@yeepay/browser-support-merchant

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yeepay/browser-support-merchant

merchant system,browser support detection sdk.

0.0.4
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

browser support detection

易宝支付(商户后台),浏览器兼容性检测 sdk,ie >= 9

How it work?

在入口 html 处引入 sdk cdn :

<script type="text/javascript" src="//cdn.jsdelivr.net/npm/@yeepay/browser-support-merchant@0.0.1/index.min.js"></script>

示例:

index.hmtl

<html>
  <head>
	/* ... */
  </head>
  <body>
	/*...*/
    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/@yeepay/browser-support-merchant@0.0.1/index.min.js"></script>
  </body>
</html>

❗️必须在 body 标签内部或之后, 并且其他 script 标签之前注入。

For Developer

安装依赖

npm install

一、开发 unsupport 页面

  • 将 src/unsupport.html 首部 head 注释解除,将 css 注入。
  • 启动
npm run start 

二、编译

页面开发完成后,先编译:

  • 将 src/unsupport.html 首部 head 注释。
  • 编译
npm run compile 

三、测试

编译后方可测试:

npm run test

四、构建

编译后方可构建:

npm run build

五、发布 npm

npm publish --access public

FAQs

Package last updated on 11 Nov 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.