Code Monkey home page Code Monkey logo

Comments (7)

Snapy avatar Snapy commented on May 8, 2024

FYI OpenDNS has a block page which can be customized and include a way to contact the administrator.

from adguardhome.

ameshkov avatar ameshkov commented on May 8, 2024

@Snapy what do they do for blocked HTTPS websites?

from adguardhome.

Snapy avatar Snapy commented on May 8, 2024

@ameshkov This support page says https is blocked (as is http). I suppose they also display the block page.

from adguardhome.

ameshkov avatar ameshkov commented on May 8, 2024

@Snapy the problem is that when website is accessed via https we can't display the block page content as the block page won't pass https verification.

from adguardhome.

ameshkov avatar ameshkov commented on May 8, 2024

Ah, ok, I see.

All blocked domains are resolved to 146.112.61.106, which in turn simply redirects you to block.opendns.com.

For plain HTTP it works as intended.

For HTTPS you'll see certificate error:

![privacy error 2016-09-12 11-26-56](https://cloud.githubusercontent.com/assets/5947035/18429409/cfb7fa3c-78db-11e6-8252-e3bfe36c3451.png)

I guess there's no better option, so we'll do the same.

from adguardhome.

ameshkov avatar ameshkov commented on May 8, 2024

@nkartyshov for this page use the same page layout as in AG for Windows parental control module.

Add a simple javascript there:

  1. If domain name is not "block.dns.adguard.com" redirect user to that domain (pass url in parameter).
  2. If domain name is "block.dns.adguard.com", show the block page content.
  3. There should be a "mailto:" link allowing send a complaint.

Set appropriate subject and body of the mailto link:
http://stackoverflow.com/questions/4782068/can-i-set-subject-content-of-email-with-using-mailto

from adguardhome.

nkartyshov avatar nkartyshov commented on May 8, 2024

done

from adguardhome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.