The Un-Official Proxomitron Forum
Ad bar on GiveawayOfTheDay - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Config Sets (/forumdisplay.php?fid=43)
+--- Forum: Sidki (/forumdisplay.php?fid=44)
+--- Thread: Ad bar on GiveawayOfTheDay (/showthread.php?tid=1624)



Ad bar on GiveawayOfTheDay - proxATW - Jun. 09, 2010 05:32 PM

I am not good anough at writing proxo filters and I would be very glad if someone help me to get rid of this ad bar at bottom at the giveaway of the day's page (ex: todays page at hxxp://www.giveawayoftheday.com/allmybooks/).

Tanks in advance.


RE: Ad bar on GiveawayOfTheDay - JJoe - Jun. 09, 2010 08:29 PM

You could cut off the bottom of the html.

Multi is on so that other filters can find the closing body and html tags.
Sidki's set uses those.

Code:
[Patterns]
Name = "giveawayoftheday.com minus FacebookStickrInformer (2010,6,9)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.giveawayoftheday.com/"
Limit = 2560
Match = "<div id="fb-root">*"
Replace = "</body>\r\n"
          "</html>"

If other filters don't need those tags

Code:
[Patterns]
Name = "giveawayoftheday.com minus FacebookStickrInformer (2010,6,9)"
Active = TRUE
URL = "$TYPE(htm)www.giveawayoftheday.com/"
Limit = 256
Match = "<div id="fb-root">"
Replace = "\k"

The target code
Code:
<div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js"></script>
    <script>
        FB.init({appId: 112228068810156, status: true, cookie: true, xfbml: true});
        
        function fbDialog()
        {
            FB.login(
                function(response) {
                    /*if (response.session) {
                        if (response.perms) {
                          alert(response.perms);
                        } else {
                          alert("user is logged in, but did not grant any permissions");
                        }
                    } else {
                        alert("user is not logged in");
                    }*/
                },
                {perms:'publish_stream,offline_access'}
            );
        }

    </script>
    
<!--mfunc--><!-- do_display: FALSE --><!--/mfunc-->
<script type="text/javascript">
var YouSticker={
    hash:"26e61ae981d5893c4265651aedc5d409",
    site:"stickr.com",
    applicationName:"gothd",
    position:"left",
    color:"#cadde6",
    text_color:"#785b5b",
   logo: "http://stickr.com/design/images/slider/bg_logo_05.png"
}
var url = 'http://' + YouSticker.site + '/load/button/?sUrl=' + encodeURIComponent(window.location) + '&gHash=' + YouSticker.hash;
document.write(unescape("%3Cscript src='") + url + unescape("' type='text/javascript'%3E%3C/script%3E"));
</script>


<div id="linkInformerDiv" style="width: 1px; height: 1px">
<script type="text/javascript">
          document.write(unescape("%3Cscript src='http://208.94.233.132/WebGate/JavaScripts/LinkInformer.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
InitLinkInformer("b53d4fea-6544-4027-a8f5-5bf4a58c7b93");
} catch (err) { }</script>
</div>

<script src="http://s.web.informer.com/favorites-button.js?glass" type="text/javascript" charset="UTF-8"></script>
<a href="http://web.informer.com/button/providers/list"><img id="Webinformer_FavoritesButton_Button" src="http://s.web.informer.com/b2.gif" alt="Web Informer Button" style="border: 0" /></a>


</body>
</html>
    
        

<!-- Dynamic Page Served (once) in 0.491 seconds -->

Have fun


RE: Ad bar on GiveawayOfTheDay - proxATW - Jun. 09, 2010 08:58 PM

Woaw, how nicer now :-)

Thanks much for your helping time, JJoe!

Cheerz