xiaoyifang / goldendict-ng

The Next Generation GoldenDict
https://xiaoyifang.github.io/goldendict-ng/
Other
1.65k stars 92 forks source link

feature: boost adblock ability #628

Open xiaoyifang opened 1 year ago

xiaoyifang commented 1 year ago

Is your feature request related to a problem? Please describe. image

add a custom textarea to allow users input custom url patterns which should be blocked. Should be only work on http(s) external url._

the implementation can combined with weburlinterceptor. add an extra check against the user input rule.

shenlebantongying commented 4 days ago

If we provide custom user agent, we can pretend to be a mobile device where webpages usually has less AD than desktop version.

https://github.com/shenlebantongying/kpDict/blob/6cc58cc569b3bfcc5e6879c1704274eea0b6fa31/src/kpWebView.cpp#L8

Related original GD issues