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: 21 days ago
JSON representation
ajax的严格模式,https页面会拦截非https的ajax请求.
- Host: GitHub
- URL: https://github.com/axetroy/ajax-strict-mode
- Owner: axetroy
- License: mit
- Created: 2017-05-10T14:59:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T12:43:04.000Z (over 6 years ago)
- Last Synced: 2025-06-04T05:01:32.665Z (about 1 month ago)
- Topics: ajah, ajax, axetroy, https, strict-mode
- Language: JavaScript
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# ajax-strict-mode
[](https://greenkeeper.io/)
[](https://travis-ci.org/axetroy/ajax-strict-mode)
[](https://david-dm.org/axetroy/ajax-strict-mode)

[](https://github.com/prettier/prettier)

[](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)