Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axetroy/ajax-strict-mode

ajax的严格模式,https页面会拦截非https的ajax请求.
https://github.com/axetroy/ajax-strict-mode

ajah ajax axetroy https strict-mode

Last synced: about 1 month ago
JSON representation

ajax的严格模式,https页面会拦截非https的ajax请求.

Awesome Lists containing this project

README

        

# ajax-strict-mode

[![Greenkeeper badge](https://badges.greenkeeper.io/axetroy/ajax-strict-mode.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/axetroy/ajax-strict-mode.svg?branch=master)](https://travis-ci.org/axetroy/ajax-strict-mode)
[![Dependency](https://david-dm.org/axetroy/ajax-strict-mode.svg)](https://david-dm.org/axetroy/ajax-strict-mode)
![License](https://img.shields.io/badge/license-MIT-green.svg)
[![Prettier](https://img.shields.io/badge/Code%20Style-Prettier-green.svg)](https://github.com/prettier/prettier)
![Node](https://img.shields.io/badge/node-%3E=6.0-blue.svg?style=flat-square)
[![npm version](https://badge.fury.io/js/ajax-strict-mode.svg)](https://badge.fury.io/js/ajax-strict-mode)

ajax的严格模式,https页面会拦截非https的ajax请求.

基于[ajah](https://github.com/axetroy/ajah)实现

## Installation
```bash
npm install ajax-strict-mode
```

## Usage

```javascript
import ajaxStrictMode from 'ajax-strict-mode';
ajaxStrictMode()
```

## Contributing

```bash
git clone https://github.com/axetroy/ajax-strict-mode.git
cd ./ajax-strict-mode
yarn
```

You can flow [Contribute Guide](https://github.com/axetroy/ajax-strict-mode/blob/master/contributing.md)

## Contributors

| [
Axetroy](http://axetroy.github.io)
[💻](https://github.com/gpmer/gpm.js/commits?author=axetroy) 🔌 [⚠️](https://github.com/gpmer/gpm.js/commits?author=axetroy) [🐛](https://github.com/gpmer/gpm.js/issues?q=author%3Aaxetroy) 🎨 |
| :---: |

## License

The [MIT License](https://github.com/axetroy/ajax-strict-mode/blob/master/LICENSE)