![]() |
Re: Blocking ads on N9?
Quote:
http://talk.maemo.org/showthread.php?t=81579 Been tying to summarize most findings in the OP. Oh & you might want to wait till we get 1.2+ kernel source. It's been requested in that thread recently. That way you won't have to re-flash... Then again we could be waiting for several more weeks. |
Re: Blocking ads on N9?
This kind of suck if the userbase is going to be divided into two groups, one with open mode and another without. Hacks and application development for harmattan are done mostly by those who are ready to flash the phone daily and they will also get this open mode to simplify their works, this probably also mean that those without o-p are going to miss these hacks.
just my though on current development. |
Re: Blocking ads on N9?
Quote:
You also don't have to update the contents all the time, maybe once a year is enough. Remember to grep -v 127.0.0.1 /etc/hosts |less to check that there are no malicious proxy addresses amongst the blocked ones. Speaking of which I'm not sure this is enough if someone puts a malicious line like this in the hosts file: xxx.xxx.xxx.xxx mobile.bank.com 127.0.0.1 So grepping for your bank's name and your email address provider is adviced too. |
Re: Blocking ads on N9?
wow, i had no idea that aegis was so bad and that i have been fooled with that pretty terminal and SU. why Nokia? why.
Is there a thread that shows exactly how&what aegis does and control? why cant we circumvent it? is it because it keeps a md5 hash or something of certain files and directories. |
Re: Blocking ads on N9?
1 Attachment(s)
Quote:
|
Quote:
|
Re: Blocking ads on N9?
Quote:
In the beginning of the file I would replace the line 127.0.0.1 localhost with 127.0.0.1 RM696 localhost to be on the sure side. Not that I've tested one without; it would be hard to do that properly since any application may depend on resolving hostname through hosts file and you'd find out only when you met one. I've also tried one found here: http://winhelp2002.mvps.org/hosts.htm but it needs conversion with dos2unix command that can be found in either harmattan-dev or rzr repos (can't remember which). Also the file contains a lot of explanations about sites thus making it heavier to handle and checking it with plain grepping is more cumbersome. So it is faster to use one from android-land. WARNING: To plain Windows people out there: Do not use Windows Notepad to edit the file, and I wouldn't use Wordpad either even when the latter actually shows the lines properly; there is more to end of lines and newlines. http://en.wikipedia.org/wiki/Newline#Common_problems In Windows land Notepad++ should be safe, not that I've tested it lately. |
Re: Blocking ads on N9?
Quote:
http://www.developer.nokia.com/Commu...Platform_Guide http://harmattan-dev.nokia.com/docs/..._security.html Aegis does a lot of things, and not all of them are bad for users... Missing the hosts file from the aegis configuration sounds and most probably is insecure, but I think that Harmattan devs have done this on purpose as a small nod to users not afraid to tinker to allow adblocking. Just guessing here of course, but certainly there is no actual need for them to have it open as it contains only the "127.0.0.1 RM696 localhost" by default and it is unlikely that it would change in any future updates. |
Re: Blocking ads on N9?
Quote:
But I did manage to extract the big *** /etc/hosts file from my N900. If anyone wants to grab the spam domain portions off of it, here it is: http://www.besh.com/~chad/hosts |
Re: Blocking ads on N9?
About the host file: https://github.com/pbrisbin/scripts/...00/updatehosts
You can disable adds with CSS, but I donī know if the browser allows the user to apply custom cascading style sheets (donīt own a N9). |
All times are GMT. The time now is 08:10. |
vBulletin® Version 3.8.8