ntadmin / DGND3700v2

Custom firmware for the Netgear DGND3700v2
12 stars 4 forks source link

Allow adblocking to make exceptions #31

Closed ntadmin closed 8 years ago

ntadmin commented 8 years ago

Occasionally, a user may wish to allow an exception for a site listed on the ad-blocking databases. For example, topcashback users sometimes need to go via an often blocked site.

ntadmin commented 8 years ago

This is being held up by a very odd error in the page_render code.

ntadmin commented 8 years ago
ntadmin commented 8 years ago

Currently page-render isn't rendering the page correctly, so when data is submitted it is not a complete POST request (ie has data expected by the code missing). So the update request is handed off to the netgear code which happily ignores it

Current focus: getting page-render to render adblock.htm correctly.

ntadmin commented 8 years ago

adblock.htm now rendered correctly: https://github.com/ntadmin/DGND3700v2/commit/42c45cac5dec42c5c9c042a5b29ef22ad7e3f435#diff-6b0822d5225c2a2c37641e8d9e72a4be

Next: storing the list of sites correctly.

ntadmin commented 8 years ago

Allow sites now working: d24513d5f3114859e2443ab0c68f63b60c369ba2

Need to verify correct exclusion now

ntadmin commented 8 years ago

page-server.cgi now storing allowed sites with extra \r

ntadmin commented 8 years ago

That should resolve this one. Final test on next full build.

ntadmin commented 8 years ago

Closed as resolved following test on a list of exceptions with NEWTB6.