AdguardTeam / AdguardForWindows

AdGuard for Windows open bug tracker
https://adguard.com/
691 stars 72 forks source link

More effort to block in-game ads #1470

Closed Bluscream closed 4 years ago

Bluscream commented 7 years ago

I wish some of you would be gamers so you can put some effort in blocking in-game ads (html motd's for example).

Example in-game ad providers:

GMod's and Steam Overlay's user agent string: https://github.com/Facepunch/garrysmod-issues/issues/2005#issuecomment-143894474

Bluscream commented 7 years ago

Pinion

[Example Login](https://cp-ng.pinion.gg) ![image](https://cloud.githubusercontent.com/assets/3318223/21573319/5da8a082-cee3-11e6-8eac-12e15db1335a.png)

GMod plugin and config: pinion-adverts-gmod.zip pinion-config.zip

Setup: Step 1 – Config File Upload pinion.cfg to the /garrysmod/cfg/ directory. Step 2 – Load Plugin Extract the contents of the Pinion Garry's Mod LUA script (remember to preserve the folder structure) and navigate to your game install on your server. Upload the "lua" folder you extracted from the zip file to your server, it should merge with the lua folder that's already in the /garrysmod/ directory. If it asks to overwrite any files let it do so. Step 3 – Reboot Reboot your game server for the changes to take effect. Step 4 – Confirmation Join your game server; upon joining please confirm the MOTD loads correctly with Pinion content.

Bluscream commented 7 years ago

MOTDgd

[Example Login](https://motdgd.com/portal/) ![image](https://cloud.githubusercontent.com/assets/3318223/21573386/1996526c-cee4-11e6-9272-3005396448a3.png)

Instructions a) Download the plugin by clicking here, then extract it and place the ‘motdgdadverts’ folder in your ‘garrysmod/addons’ folder

b) Open ‘garrysmod/addons/motdgdadverts/lua/motdgd_config.lua’ and edit as necessary

Example MOTDGD request ``` URL: http://motd.motdgd.com/ads?user=4881&fv=1&ip=89.163.144.161&pt=27777&gm=garrysmod&st=STEAM_0:1:31090466&v=2.07&sec=15 Source: motd.motdgd.com Data type: Document Rule: English filter: .com/ads?$popup ``` ![hl2 2016-12-30 22-38-54-20](https://cloud.githubusercontent.com/assets/3318223/21573132/471186e2-cee1-11e6-9e48-3ce998af9c96.png) ![hl2 2016-12-30 22-37-21-31](https://cloud.githubusercontent.com/assets/3318223/21573134/4942840c-cee1-11e6-85f6-b0767ab9261e.png)
ameshkov commented 7 years ago

First of all, do we need to add more executables to the list of filtered apps in order to get to these requests?

Bluscream commented 7 years ago

Yes, each game binary must be added the filtered apps list to allow filtering. But that's some effort gamer could do for adblocking I think. Or maybe subscribe'able "Filtered Apps" lists (like Browsers, Games, etc.) image

Bluscream commented 7 years ago

Any news on this?

ameshkov commented 7 years ago

Adding games to the filtered apps one by one would be too hard. We should completely re-think this approach, and I don't yet understand how. As we know, filtering a game might mess with its multiplayer as every millisecond matters.

On the other hand, as I understand, in most cases it should be enough to block ads on a DNS/hosts level, which is possible without messing with the game traffic. @Bluscream am I right?

Bluscream commented 6 years ago

That applies for now but when the blocking of this kind of ads gets popular it's more likely that we need to go deeper anyway