Giter VIP home page Giter VIP logo

Comments (9)

badsgahhl avatar badsgahhl commented on August 17, 2024

Hello thank your for reaching out.

I need some more information to help you further.

  • Please provide a screenshot of the settings page. Vanish your API Code!
  • Which PiHole Version are you using? You can find it at the bottom of your dashboard page.
  • I consider if you go to http://192.168.1.2/ there is your dashboard, right? Please then go to http://192.168.1.2/api.php . Please check if this site works.
  • Last, click on the extension icon. The popup should open, rightclick into the popup and click in the menu "Inspect". In the new windows click "console" at the top. Please provide all the information and errors the console gives to you.

from pihole-browser-extension.

slvrscoobie avatar slvrscoobie commented on August 17, 2024

Screen Shot 2020-05-01 at 12 57 11 PM
Here is screen shot of the options page.
Pi-hole Version v4.4 Web Interface Version v4.3.3 FTL Version v4.3.1
If I go to that address i get the Pi Logo with the "Pi-hole: Your black hole for Internet advertisements
Did you mean to go to the admin panel?"
Inside Console, i get a blank page, but at the top, since trying to disable, i get a red X and (Edit, had a typo in the address, doh! but fixed, and now I get)
Uncaught SyntaxError: Unexpected token < in JSON at position 5
at JSON.parse ()
at XMLHttpRequest.httpResponse.onreadystatechange (popup.js:48)

from pihole-browser-extension.

badsgahhl avatar badsgahhl commented on August 17, 2024

Hey,

  • does the extension show you the correct status of your pihole? Or is this not working as well?

  • On http://192.168.1.2/ it should show you the pihole dashboard with your stats of the pihole. Like total queries, domains blocked, etc.

  • Go to your admin panel. Then provide the URL of it please.

  • Please go at the following url and provide a screenshot of the page. Replace "key" with your API key. The link should disable your pihole for 10 seconds.
    http://192.168.1.2/api.php?auth=key&disable=10

from pihole-browser-extension.

slvrscoobie avatar slvrscoobie commented on August 17, 2024

When i click on the icon - it shows a grey box, i can turn it green but if i select say 30 seconds, then go to the dashboard, the dashboard doesnt show its disabled. and vice versa, if i disable on dashboard, the 'switch' on the extention doesnt change.
If i go to that page, it does not load the dashboard, it asks if i want to go To the dashboard:
Screen Shot 2020-05-01 at 1 41 44 PM
http://192.168.1.2/admin
entering the above doesnt disable the pihole in the admin panel

from pihole-browser-extension.

badsgahhl avatar badsgahhl commented on August 17, 2024

Could you go to http://192.168.1.2/admin and make a screenshot of it. Please vanish everything sensitive.

from pihole-browser-extension.

slvrscoobie avatar slvrscoobie commented on August 17, 2024

Screen Shot 2020-05-01 at 1 49 58 PM
sure

from pihole-browser-extension.

badsgahhl avatar badsgahhl commented on August 17, 2024

Perfect. Please try using http://192.168.1.2/admin in the extension settings. It should work then.

from pihole-browser-extension.

slvrscoobie avatar slvrscoobie commented on August 17, 2024

Bingo! now its green!

from pihole-browser-extension.

badsgahhl avatar badsgahhl commented on August 17, 2024

Wonderful! I will close the issue here and add more information to the extension documentation.

If there are any other issues or feature ideas please consider opening a new issue or request.

Have a nice day!

from pihole-browser-extension.

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.