Додатки браузера Firefox
  • Розширення
  • Теми
    • для Firefox
    • Словники та локалізації
    • Інші сайти браузера
    • Додатки для Android
Увійти
Перегляд Virtual Hosts (fork)

Virtual Hosts (fork) автор Anon

Apply a virtual hosts file for development purposes.

ЕкспериментальнийЕкспериментальний
0 (0 reviews)0 (0 reviews)
2 Users2 Users
Для використання цього розширення вам потрібен Firefox
Завантажити Firefox та отримати розширення
Завантажити файл

Метадані розширення

Про це розширення
This is a fork of Virtual Hosts extension.
https://addons.mozilla.org/en/firefox/addon/vhost-simulator/

== ATTENTION ==
This addon may not do what you think it does! Make sure you read and understand the functionality.

THIS DOES NOT REPLICATE THE SYSTEMS HOST FILE DNS RESOLVING!!!

"Virtual Hosts" does not mean a "virtual hosts file" but refers to http "Virtual hosting"!!!

== ABOUT ==
Overwrite the "Host" HTTP header to request a specific virtual host from a remote webserver. IT DOES NOT RESOLVE DNS TO IP!!!!

Often enough while waiting for DNS propagation or standing up a replacement site, developers edit the hosts file on their system to achieve the same effect. This extension facilitates the a similar effect without the hassle or when lacking permissions.

When detecting outgoing HTTP(S) requests from your Firefox browser to the VHost IP we rewrite the Host header to the VHost Domain. Any requests to sites other than the VHost IP are ignored, so browsing other sites won't be impacted.

This version have the following differences:
All requests will be redirected from 'Host' to 'IP address'. You have no option to disable redirect. So, be careful and DO NOT use it on hosts that can accept sensetive data.
Proceed with extreme caution.


== HOW TO USE ==

- Enable -
Click the VHost icon in the top right to open the settings panel.
Make sure Globally Enabled is checked.

- Adding vhosts -
Press Add new Virtual Host and enter the original Host in the IP field (either an IP address if accessing a website by IP or the domain name of the target website) and the new Host in the Host field.
When a domain is present and Enabled is checked for the host all websites matching the IP will be requested with the entered domain.
To replace IP / Host in all headers, tick "Apply to all headers" checkbox. It may help with some CORS-related issues.
Please note: modern Firefox versions does not allow to replace "Access-Control-Allow-Origin" response header. It is NOT my fault.

- Disable -
Untick the [ ] Globally Enabled checkbox or the individual Enabled checkboxes for each host.

== Source ==
Original addon source code on GitHub: https://github.com/Longoon12000/Virtual-Hosts
If you want to get source code of this version, just download and unpack .xpi file.

== THANK YOU ==
For using this extension.
Rated 0 by 0 reviewers
Увійдіть, щоб оцінити це розширення
Ще немає оцінок

Рейтинг збережено

5
0
4
0
3
0
2
0
1
0
Ще немає відгуків
Permissions and dataДокладніше

Необхідні дозволи:

  • Отримувати доступ до ваших даних для всіх вебсайтів
Більше інформації
Версія
1.0
Розмір
12,49 КБ
Востаннє оновлено
рік тому (17 серп 2024 р.)
Пов'язані категорії
  • Інструменти розробника
Ліцензія
Ліцензія MIT
Історія версій
  • Переглянути всі версії
Додати до збірки
Повідомити про цей додаток
Інші розширення від Anon
  • Ще немає оцінок

  • Ще немає оцінок

  • Ще немає оцінок

  • Ще немає оцінок

  • Ще немає оцінок

  • Ще немає оцінок

Перейти на домівку Mozilla

Додатки

  • Про
  • Блог додатків Firefox
  • Семінар з розширень
  • Центр розробника
  • Політики розробників
  • Блог спільноти
  • Форум
  • Повідомити про помилку
  • Настанови з написання відгуків

Браузери

  • Desktop
  • Mobile
  • Enterprise

Продукти

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Приватність
  • Файли cookie
  • Правові положення

За винятком випадків зазначених тут, вміст цього сайту ліцензовано на умовах ліцензії Creative Commons Attribution Share-Alike License v3.0, або будь-якою новішою версією.