The Un-Official Proxomitron Forum
MySpace filter annoyances... - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Filter Help/Request (/forumdisplay.php?fid=31)
+--- Thread: MySpace filter annoyances... (/showthread.php?tid=725)



MySpace filter annoyances... - AlienIntelligence - Feb. 01, 2006 11:18 AM

Ok, so I'm confused at the method
where MySpace is able to still push
ads and music on me.

I created several successful filters,
they are working on other webpages
such as this one, but not on MySpace.

I'm trying to get rid of all the ads and
music on their pages... but it still makes
it thru.

I searched the archives and found no
mention of MySpace, so I apologize
if it's been gone over before but I wasn't
able to find a link to it.

thanks in advance,
-Marc


- Oddysey - Feb. 01, 2006 11:05 PM

(This qualifies as a filter request, so I moved it appropriately.)

Marc;

First, Welcome to the UOPF!

Now, can you give us a specific example page, please? Big Teeth


Oddysey


- AlienIntelligence - Feb. 01, 2006 11:41 PM

Oops, thanks for the correction,
newb error =)

OK, as for examples...

You may have to have a MySpace
account to see the main annoyances
but you can use my profile for one
of the music filters... (ironic huh?)
[ http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=6239279 ]

That is one of the types of music on
MySpace, an embedded mplayer
window.

You can use Alley's profile for the
other type of embedded music
[ http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=42331013 ]

And the part where the ads are most
annoying, is the part I think you have
to be a member to see. Typically after
hitting add friend and confirming the
confirmation page will have an ad on
the side. The same with sending a
message, after confirmation there is
an ad.

I cut and pasted the code to my
[ http://www.alienintelligence.net/proxomitron/Ad-source.zip ]
website. The clincher is... it seems
to be a frame arrangement, with
java calling up the ad. The frame
is tight and I'm having trouble
getting the source for it. I got it
once before when there was a
sloppy edge, all that's in that
frame is a <a href> and <img src>
tag once loaded, this is the img source
[ http://lads.myspace.com/06_01/MS-60106-04-SPRD-SJ/model7.jpg ]
So, I tried blocking lads.myspace
but that doesn't help.

I tried filtering the java call, and that
didn't help either.

I tried again and intercepted the code
before the image loaded, that's on the
webpage now as well.

I've tried blocking all these annoyances
and as I said, it works on other pages
but not in the wonderful world of MySpace.

Help! =)

-Marc


- AlienIntelligence - Feb. 01, 2006 11:42 PM

Oh, and thanks for the welcome to UOPF =)


- AlienIntelligence - Feb. 01, 2006 11:49 PM

Just in case the ad generating script
call isn't obvious in the source I provided,
it looks like this is the culprit:

<script language="Javascript">
<!--
oas_ad("www.myspace.com/addfriend,11007004","Frame1");
//--> </script>

Filter created for that... works great
on other pages... but not MySpace.

-Marc


- Kye-U - Feb. 02, 2006 03:40 AM

I will do some work and come up with a filter!

It will be a pleasure removing all this junk Big Teeth


- Kye-U - Feb. 02, 2006 04:11 AM

Give this baby a go:

Code:
[Patterns]
Name = "MySpace Cleaner"
Active = TRUE
URL = "[^/]++myspace.com/"
Limit = 1024
Match = "function oas_ad\(\)$SET(1=function Shonenscape())"
        "|$NEST(<table width="800" border="0" align="center" cellspacing="0" cellpadding="0">,</table>)"
        "|$NEST(<script*>,*oas_ad*,</script>)"
        "|$NEST(<iframe*revenueScience*>,</iframe>)"
        "|$NEST(<div id="advertisement">,</div>)"
        "|$NEST(<embed*>,</embed>)"
        "|$NEST(<object*>,</object>)"
        "|<bgsound$SET(1=<Shonenscape)"
        "|<img src="http://x.myspace.com/images/advertisement_up.gif" width="120" height="10" border="0" alt="Advertise Here!" title="Advertise Here!">"
Replace = "\1"

Enjoy!

And many thanks to Oddysey for taking care of this thread Wink

Sorry for the sloppiness of the last line; any other way was overkilling the code and malforming the layout.


- AlienIntelligence - Feb. 02, 2006 09:33 AM

Well, thank you for the time you
put into this Kye-U... and now for
the bad news, you are 0 for 4.

Mplayer still is playing, all those
annoying band songs still play
and I still get splash ads on the
confirmation pages.

And that is exactly what happened
to my filters too. I spent an entire
evening once just trying to kill
the music, because I like to play
Winamp and stream music while
surfing, then you load one of those
pages and you get knocked back
by some blaring music on their
page.

It is really frustrating me... does
it have something to do with the
way the pages are created?

But I thought that the data stream is
what was being filtered thru the prox...
so it shouldn't matter where/how the
pages are delivered.

arggh.

-Marc


- Kye-U - Feb. 02, 2006 06:30 PM

It should be working....

It killed the flash music player and the background music on your page for me Sad


- AlienIntelligence - Feb. 03, 2006 03:20 AM

Ok, well is it possible you have
another filter that is killing the
music? Cause all music is still
playing on all sites for me.

As a consolation, the music loads
faster now, hehe.

Wonder why that is?

-Marc


- Siamesecat - Feb. 03, 2006 08:38 AM

AlienIntelligence,
This is the filter I use to stop an embedded media file from being displayed or played, unless I want it. If I want to access it, I just have to click a text link. It is a modified version of the "Sounds to links" filter in the default config file that came with Proxomitron.
Code:
[Patterns]
Name = "Sounds to links - confirm"
Active = TRUE
Bounds = "<object\s*</object>|<(embed|bgsound)\s*>"
Limit = 1020
Match = "([<a-z]+ (*qtsrc|*src)=$AVQ(\1)&(*type=$AV(\2)|$SET(2=Media))*)"
        "& $CONFIRM(\1 Change embed to link?)"
Replace = "<a href=\1 >[\1][/url]"



- AlienIntelligence - Feb. 03, 2006 09:33 AM

Well, uh yeah... looks like it was a
SNAFU on my side, and with the
wonderful lump of coal that good
ole Billy Gates has bestowed on
us, I'm not surprised.

I had to reinstall Prox, (I did a
full reinstall of XP the other day)
Banging Head and now your wunnerful
filter works for me, thanks! =)

Sorry to have doubted your efficacy.
Hail

You wouldn't happen to care to add
to the filter to get rid of the pesky
MyGen ad in the upper left of some
profiles like this?
[ http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=25182598 ]

-Marc


- Kye-U - Feb. 03, 2006 08:51 PM

No problem! Glad it's working!

Delete the old filter and use this one to kill that MyGen button:

Code:
[Patterns]
Name = "MySpace Cleaner"
Active = TRUE
URL = "[^/]++myspace.com/"
Limit = 1024
Match = "function oas_ad\(\)$SET(1=function Shonenscape())"
        "|$NEST(<table width="800" border="0" align="center" cellspacing="0" cellpadding="0">,</table>)"
        "|$NEST(<script*>,*oas_ad*,</script>)"
        "|$NEST(<iframe*revenueScience*>,</iframe>)"
        "|$NEST(<div id="advertisement">,</div>)"
        "|$NEST(<embed*>,</embed>)"
        "|$NEST(<object*>,</object>)"
        "|$NEST(<div*>,*mygen*,</div>)"
        "|<bgsound$SET(1=<Shonenscape)"
        "|<img src="http://x.myspace.com/images/advertisement_up.gif" width="120" height="10" border="0" alt="Advertise Here!" title="Advertise Here!">"
Replace = "\1"



- AlienIntelligence - Feb. 03, 2006 09:56 PM

Sweet... Works like a charm!

Well, now MySpace is a tolerable
addiction. Gee, thanks for enabling
my addictions! =) j/k

But yah, the music and ads were
what got me away from there
early at nite... now there's no
stopping me ;-)

Anyone else from here on there?

-Marc


- Oddysey - Feb. 06, 2006 08:55 AM

AI,

As usual, I'm late getting to the party. Dead But I see that our Fearless Leader and the gang have taken care of the situation, so I don't need to harangue you with anything more. Shock Big Teeth

As it happens, no, I don't have a MySpace page, but I know several others that do. Whenever I can, I go see these guys: The 'Verb


Oddysey