Post Reply 
Google ads why?
Mar. 19, 2012, 04:01 AM (This post was last modified: Mar. 19, 2012 04:05 AM by Mele20.)
Post: #31
RE: Google ads why?
I can't get Preferences for "Persistent Text" to "take". That is the same problem I have with Ghostery. Ghostery has the "Save" button (that you use to save your preferences) grayed out. Persistent Text lets me put a dot in the various choices but then the dot disappears. If I reopen the extension after restarting Opera the dot is gone. It is gone if I don't restart but just reopen the extension to check the settings.

So, does the extension save the text in this text box here if, when typing, you accidently hit some key that disappears this tab or crashes Opera? I want it to save the text also if I simply choose to close Opera so when I start up (always with the session continued) it will be there.

I want it for saving text in forum boxes, website feedback boxes, etc. I would not want it to save anything I put in on a form...just text boxes is what I want saved and in particular text boxes (including PMs text boxes) at dslreports forums.
I had not seen those Opera requirements before. Thank you for that information!
Add Thank You Quote this message in a reply
May. 25, 2012, 05:34 PM (This post was last modified: May. 28, 2012 09:52 AM by Gravemind.)
Post: #32
RE: Google ads why?
I feel your pain.

I was just as surprised today, when I launched a google search and saw the ads. In fact, I forgot what they looked like.

I started looking and searching for ways to kill crap, and saw the source code got some complex concealing scripts I never noticed before (was I stupid?). But my mistake was that I closed the program and then launched it again, while it survived and I had 2 Proxomitrons running at the same time. So, it is back to normal now. The ads are all gone.

Check if you have 2 programs running in your processes first.

If you wanna know, these are the filters shown in my log on that page — that is all there is.

Note that I dislike complex regex which are hard to track and debug. For that reason I packed my Proxomitron with the rules from Firefox Adblock Plus, whick I like very much, but it slows the browser like no other extentsion. When you have all this power in a separate program, that is a much better solution.

I will be sharing my config, when I polish it a little and make a detailed manual on how to use it. That is, if I`m still breathing.

Ok, the Proxomitron filters for Google Search are these:

[HTTP headers]
In = TRUE
Out = FALSE
Key = "Kill by URL — ??????????? ?? URL"
URL = "(\w($LST(url))\1)\2 $LOG(C>\1< — in «Kill by URL»: \2)"
Replace = "\k"


>/csi?v=3&s=< — in «Kill by URL»: http://www.google.ru:443/csi?v=3&s=

This entry in blue for that rule, from the url-list.

Must be written like this. /csi\?v=3\&s=

[Patterns]
Name = "URL + CSS prostoi 06403"
Active = TRUE
URL = "\wgoogle.com|\wgoogle.ru"
Limit = 60
Match = "="mbEnd""
Replace = "="mbEnd" style="display:none""

[Patterns]
Name = "URL + CSS x2/x3 911"
Active = TRUE
URL = "\wgoogle.com|\wgoogle.ru"
Limit = 40
Match = "id="taw" style="margin-right:0""
Replace = "id="taw" style="display:none""



[Patterns]
Name = "CSS — simple rules"
Active = TRUE
Multi = TRUE
Limit = 60
Match = "(="($LST(css))\2")\1 $LOG(R>\2< in "Simple CSS":\1)"
Replace = "\1 style="display:none""

bottomads in $LST(css) here

They are simple, you can use them easily.

Works both on http and https connections, if you have the libraries, of course.

Enjoy!
Add Thank You Quote this message in a reply
May. 25, 2012, 05:52 PM
Post: #33
RE: Google ads why?
Bad news here.

This works only partly.

Now I got some fresh ads on the search page.

id="taw" and ="mbEnd" are unfolded with the script which erases the hiding tag. Strange behaviour.

ABP would have blocked that in no time.

Will have to look into this.

Works on the http and some of the https tho.

Google is the most troublesome page.
Add Thank You Quote this message in a reply
May. 25, 2012, 09:20 PM (This post was last modified: May. 25, 2012 09:21 PM by Gravemind.)
Post: #34
RE: Google ads why?
It definitely has to do with encryption, some bug. I have it set up in a lame way.

Those tags are clear and should be processed, but nothing happens at times, but sometimes it works.

Always works on http for me. Most strangely, the source code for pages both doable and hopeless is totally the same. Why should it stop working then?
Add Thank You Quote this message in a reply
May. 28, 2012, 09:50 AM (This post was last modified: May. 29, 2012 07:34 AM by Gravemind.)
Post: #35
RE: Google ads why?
The mentioned filters and any others will work in Google search unless you are on the https version of it.

In order to use http in Google search, log out of your account and make a bookmark

http://www.google.com/
http://www.google.com/advanced_search

That is the only real solution for now.

Fortunately, not so many ads are served through https now. But it is still annoying.
Add Thank You Quote this message in a reply
May. 28, 2012, 09:18 PM (This post was last modified: May. 28, 2012 09:19 PM by Gravemind.)
Post: #36
RE: Google ads why?
http://prxbx.com/forums/showthread.php?t...5#pid16475

Here you will find some posts on how to handle https.

Google search page on https is mostly hopeless in any case. Use a http version or another search engine (like there are many).
Add Thank You Quote this message in a reply
May. 28, 2012, 09:28 PM
Post: #37
RE: Google ads why?
i'm not sure if i am totally missing something, but i challenge anyone to prove that searching Google via "httpS" is more 'secure' than searching Google via "http"...

i don't see the point of a google-search via "httpS" - what am i missing?
Add Thank You Quote this message in a reply
May. 28, 2012, 09:34 PM (This post was last modified: May. 28, 2012 10:02 PM by Gravemind.)
Post: #38
RE: Google ads why?
You see, there are people dependent on "Google +", "Gmail" web interface and other google services. As long as you are logged in, you can only do https searches.

They had a http search feature in the search settings, but it is no longer there.

So, if you are a google user, you will have to constantly log in and log out of it. They made it a real pain.

Adblock plus kills their ads anyway. Even proxomitron does, when it`s in a good mood.
Add Thank You Quote this message in a reply
May. 28, 2012, 10:01 PM (This post was last modified: May. 29, 2012 07:25 AM by Gravemind.)
Post: #39
RE: Google ads why?
I figured it simply doesn`t filter anything on the google https search page.

It could be that my filters are wrong and looking for wrong tags (most likely, but I had no success making others — even erasing scripts didn`t work for me — the page seems to regenerate itself).

I was misled by the url issued by ProxHTTPSProxy, which processed https and showed it like http.

Anyway, just use the http version or try to make better filters.

Edit: it started filtering on my end once I disabled the parent proxy and chose to use ssleay/openssl. Don`t know if it is gonna last. When I switch to the parent proxy, cookies disappear, and I cannot login. It always perceives me as a new user.

For the parent proxy the rules below may help to filter google ads.
Add Thank You Quote this message in a reply
May. 29, 2012, 12:00 AM
Post: #40
RE: Google ads why?
ah, thanks for the explanation...
aside from SEARCH, i don't use google so i hadn't thought about all o' that...

i thought the whole "httpS search" on google (a topic that has come up several times here) was because people thought their searches were "secure" that way (my hunch is that it's actually the opposite, that google LOGS those much more ardently than the needle-in-a-haystack non-httpS seach)...
Add Thank You Quote this message in a reply
May. 29, 2012, 12:37 AM
Post: #41
RE: Google ads why?
(May. 28, 2012 09:28 PM)ProxRocks Wrote:  i don't see the point of a google-search via "httpS" - what am i missing?

The hope is that only Google will be able to see what is being searched for.

http://support.google.com/websearch/bin/...wer=173733
Add Thank You Quote this message in a reply
May. 29, 2012, 12:48 AM
Post: #42
RE: Google ads why?
good read...

<excerpt>
Google logs the same information about your search when you’re using SSL search as we do for unencrypted search. SSL search does not reduce the data that Google receives and logs when you search, or change the listing of the items in your Web History.
</excerpt>

i guess that's really the part that i was "missing" - i was under the 'assumption' that people were using httpS search because they "perceived" it to be 'more private' and "not logged", some sort of "i refuse to search via http because if i search via httpS instead, i'm being 'anonymous' and my queries are not 'logged'..." a FALSE perception, but one i have heard at wi-fi hotspots...

the "logged in" to google services versus "logged out" really explains it all...
Add Thank You Quote this message in a reply
May. 29, 2012, 12:58 AM
Post: #43
RE: Google ads why?
(May. 28, 2012 10:01 PM)Gravemind Wrote:  I figured it simply doesn`t filter anything on the google https search page.

Your "Secure" Google may be using ajax. The scripts that create the page might not be filtered by default or contain the strings that you are trying to match.

What happens after you add

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "! : JUMP: Google complete off (out) (12.01.04) [ADD]"
URL = "(www|[^/]++.encrypted).google.(*/)+{1}(^(images|csi)\?)((^?)$SET(\0=webhp?)|(*\?)+{1}(^(*\&)++complete=[0-9])$SET(\0=&))&$JUMP(\u\0complete=0)"
Replace = "$LOG(R$DTM(c) JUMP to google complete off)"

to your set.



I don't see ads at Google https or http. I'm not logged in, however.

My guess is that there is a way around having to use the secure search while logged in. Is there a logged in cookie or referer and can you hide it from Google's server?

http://support.google.com/websearch/bin/...wer=173733

The NoSSLSearch option might be helpful...

Google Wrote:To utilize the NoSSLSearch option for your network, please configure the DNS entry for any Google domain (e.g. http://www.google.com) to be a CNAME for nosslsearch.google.com. We will not serve SSL search results for requests that we receive on this hostname. If we receive a search request over port 443, the certificate handshake will complete successfully, but we will then redirect the user to a non-SSL search experience along with an initial message explaining so.

HTH
Add Thank You Quote this message in a reply
May. 29, 2012, 07:28 AM (This post was last modified: Jun. 03, 2012 03:38 AM by Gravemind.)
Post: #44
RE: Google ads why?
From this pdf I found a way to kill those ads:

http://www.database-expert.com/hacking_e...d_html.pdf

Quote:[Patterns]
Name = "Kill google search ads on https 1 of 2"
Active = TRUE
URL = "\www.google."
Limit = 20
Match = "</script>"
Replace = "</textarea></script>"
Quote:[Patterns]
Name = "Kill google search ads on https 2 of 2"
Active = TRUE
URL = "\www.google."
Limit = 100
Match = "<script(?++)\1>"
Replace = "<script\1>document.write('<textarea cols="80" rows="40" name="whatever">');"

I go there through ProxHTTPSProxy. You may laugh but this works, all tags are found and erased by the rules.

I will try your rule later.

The only problem is that I can`t make it work on only the web search results page.

The above "\www.google.\wsearch" doesn`t seem to correspond to this link made by ProxHTTPSProxy

http://www.google.ru:443/#hl=ru&newwindo...00&bih=754

The header shows the correct page:

GET http://www.google.ru:443/search?hl=ru&ne...75890437.3 HTTP/1.1


But the limitation doesn`t work anyway, it only works if I set it to just "google.". But this way it works thoughout google and devours all scripts.

Also, I can`t distinguish the web search link from the image and other searches.

It works, however.

Your filter could be more practical.

I tried your filter. It printed in the log window on the main google page, but not on any other.

The url must be out of match. I tried to shorten it, but it didn`t help. That is all not that important.


Quote:Is there a logged in cookie or referer and can you hide it from Google's server?

There most certainly is, maybe I will take time to manage with that cookie later. I am not very good at cookies.

Note: don`t confuse \ and / like I do sometimes.
Add Thank You Quote this message in a reply
Jun. 02, 2012, 05:48 PM
Post: #45
RE: Google ads why?
Code:
http://www.google.ru:443/#hl=ru&newwindow=1&output=search&sclient=psy-ab&q=%D0%BA%D1%83%D0%BF%D0%B8%D1%82%D1%8C+%D0%BE%D0%B1%D1%83%D0%B2%D1%8C&oq=%D0%BA%D1%83%D0%BF%D0%B8%D1%82%D1%8C+%D0%BE%D0%B1%D1%83%D0%B2%D1%8C&aq=f&aqi=g10&aql=&gs_l=hp.3..0l10.1758.3995.1.4401.23.5.1.0.0.2.1534.5236.6-1j2j1.4.0...0.0.FzXP9vaGlKc&psj=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=7679d3932619a7b4&biw=1400&bih=754

Are you sure that this link was created by a script in the browser. I think it was not matched because the # and the data that followed was not sent to the server.

http://en.wikipedia.org/wiki/Ajax_(programming)
Quote:A workaround implemented by Ajax techniques is to change the URL fragment identifier (the part of a URL after the '#') when an Ajax-enabled page is accessed and monitor it for changes.

The google filters that I use try to avoid these scripts.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: