pihole-browser-extension icon indicating copy to clipboard operation
pihole-browser-extension copied to clipboard

Whitelist temporarily

Open jacklul opened this issue 3 years ago • 9 comments

How hard would it be to implement third button that whitelist the current URL for the x amount of seconds specified in the time field?

Sometimes you end up clicking a link that is a redirect through some kind of tracking/ad site and you just have no other choice but go through it just this time without permanently whitelisting it.

It could simply add record to whitelist and remove it after x seconds or use the clients & groups to whitelist it only for the current device IP (this would be probably preferred). I have no idea if required API methods are available to do it the second way.

jacklul avatar Jan 14 '21 14:01 jacklul

Lovely idea but impossible due to the lack of api endpoints of PiHole. The PiHole Api only can add/remove domains either from Whitelist/Blacklist or with the Whitelist Regex/Blacklist Feature what you also have in the browser. Every other feature is only available in the Web Interface.

I'm sorry, closing this here :(

badsgahhl avatar Jan 14 '21 16:01 badsgahhl

Well I thought you could just send whitelist request, wait 10 seconds and send remove from whitelist. Guess it's not supported in addons?

jacklul avatar Jan 14 '21 17:01 jacklul

Oh sorry I looked at the groups & clients part.

Yes this could work. I will check out how it fits into the extension.

badsgahhl avatar Jan 14 '21 17:01 badsgahhl

Is this repository still active? If I submit a PR for this feature will it get reviewed and published?

amikofalvy avatar Sep 08 '21 07:09 amikofalvy

Yes this project is active. Personally I currently don't add any new features, as of personal time limitations and the fact that I don't use PiHole that often anymore.

Feel free to create a PR, I will definitely look into it.

badsgahhl avatar Sep 08 '21 15:09 badsgahhl

What are you using now instead of pihole?

HyperCriSiS avatar May 10 '22 12:05 HyperCriSiS

What are you using now instead of pihole?

Mainly Adguard Home. Just because "it works". PiHole sometimes killed my raspberry or it had other issues. Adguard Home was then just an one to one replacement.

badsgahhl avatar May 10 '22 15:05 badsgahhl

What are you using now instead of pihole?

Mainly Adguard Home. Just because "it works". PiHole sometimes killed my raspberry or it had other issues. Adguard Home was then just an one to one replacement.

Does it also work well with unbound? This also happend to me, but it seems it was always the micro SD, all of them suck really fast. Does everything else work the same or better than with pihole?

HyperCriSiS avatar May 10 '22 16:05 HyperCriSiS

What are you using now instead of pihole?

Mainly Adguard Home. Just because "it works". PiHole sometimes killed my raspberry or it had other issues. Adguard Home was then just an one to one replacement.

Does it also work well with unbound? This also happend to me, but it seems it was always the micro SD, all of them suck really fast. Does everything else work the same or better than with pihole?

Didn't use unbound so I cannot give any advice or info about that with Adguard. Everything else worked for me fluently like I knew it from PiHole, but I only used basic features of PiHole and not special ones.

badsgahhl avatar May 11 '22 09:05 badsgahhl