https://github.com/zamentur/ajaxgoogleapis_ynh
A mirror of Google Apis for YunoHost
https://github.com/zamentur/ajaxgoogleapis_ynh
Last synced: about 1 year ago
JSON representation
A mirror of Google Apis for YunoHost
- Host: GitHub
- URL: https://github.com/zamentur/ajaxgoogleapis_ynh
- Owner: zamentur
- License: other
- Created: 2015-06-13T18:25:27.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-11-11T00:15:23.000Z (over 7 years ago)
- Last Synced: 2025-02-09T13:31:52.066Z (over 1 year ago)
- Language: JavaScript
- Size: 5.04 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ajaxgoogleapis_ynh
A mirror of ajax.googleapis.com for YunoHost
CAUTION: THIS APP IS NO LONGER MAINTAINED, YOU CAN USE THE FIREFOX PLUGIN "DECENTRALEYES" OR SEE THE YUNOHOST APP PI-HOLE.
## Why this app
This apps is for people who want visit website including script from ajax.googleapis.com without using the real ajax.googleapis.com. Indeed, you could preferer use your own copy of jquery, angular etc... With this app you can avoid (in certain case) to send to google which websites you visit or simply that you are connected.
More information in french on this article: [Les 3 façons d'en finir avec ajax.googleapis.com](https://grimaud.me/blog/les-3-facons-d-en-finir-avec-ajax-googleapis-com/)
## Caution
It doesn't work with https due to ssl verification (hsts "sec_error_unknown_issuer" #3). You should install your CA.crt in your browser. In firefox, delete cert8.db and cert_override.txt in your ~/.mozilla/firefox/XXXXX/ directory could fix this issue.
## How to use it
You need to add firstly the domain ajax.googleapis.com in your yunohost instance. You can do it on the web admin or with this command line:
```shell
sudo yunohost domain add 'ajax.googleapis.com'
```
Next you can install this apps like that:
```shell
sudo yunohost app install https://github.com/zamentur/ajaxgoogleapis_ynh/
```
You can decide to restrict the usage to connected users, but in this case, you need to be connected when you visit a website with a scripts from ajax.googleapis.com...
After the installation on your server, you need to add this line in your /etc/hosts file:
```ini
IP_OF_YOUR_YUNOHOST_INSTANCE ajax.googleapis.com
```
If you don't know the ip of your instance try this command to obtain it:
```shell
ping your-yunohost-domain.tld
PING your-yunohost-domain.tld (IP_OF_YOUR_YUNOHOST_INSTANCE) 56(84) bytes of data.
```