Page 1 of 1

A script i can't move! HELP!

Posted: Wed Aug 03, 2011 4:28 am
by nggentertainment

Code: Select all

<div style="outline-width: 0px; outline-style: initial; outline-color: initial; height: auto; width: 375px; top: 157px; left: 461px; display: block; z-index: 1004; " class="ui-dialog ui-widget ui-widget-content ui-corner-all lightbox-dropshadow ui-draggable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-8819875"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" unselectable="on"><span class="ui-dialog-title" id="ui-dialog-title-8819875" unselectable="on">Welcome Back!</span><a href="#" class="ui-dialog-titlebar-close ui-corner-all" role="button" unselectable="on"><span class="ui-icon ui-icon-closethick" unselectable="on"></span></a></div><div class="lightbox ui-dialog-content ui-widget-content" id="8819875" style="width: auto; min-height: 0px; height: 274px; display: block; ">
<div class="post-watch-lightbox">
<h3>You just watched:</h3>
<div class="image-wrapper"><img alt="Sc_himym" src="http://s3.sidereel.com/tv_shows/5/medium/sc_himym.jpg" style="visibility: hidden; display: none; "></div>
<div class="lightbox-text">
<a href="/How_I_Met_Your_Mother" class="bypass-link"><h2 class="show-name">How I Met Your Mother</h2>
<span class="season-ordinal">Season 1, </span>
<span class="episode-ordinal">Episode 2</span>
<br>
<span class="link-name">S01E02</span>
</a><div class="genre-information sr-gray">
<span class="heading-3">Genre:</span>
Comedy, cbs
</div>
</div>
<div class="section-divider clear"></div>
<div class="actions">
<a href="/users/watched_episode/social_toggle?episode_id=31729" class="mark-as-watched">Mark As Watched</a>
</div>
<div class="next-episode"><a href="/How_I_Met_Your_Mother" class="sidereel-next-episode">Watch The Next Episode</a></div>

<div class="link-actions">
<span><a href="/links/8819875/mark_as_broken" class="mark-as-broken" onclick="return false;" rel="nofollow">Broken Link</a></span>
|
<span><a href="/fragments/report_link_form/8819875" class="report-link report-link-id-8819875" rel="nofollow">Report Link</a></span>
</div>
</div>
</div></div>

Code: Select all

<div style="outline-width: 0px; outline-style: initial; outline-color: initial; height: auto; width: 375px; top: 157px; left: 461px; display: block; z-index: 1002; " class="ui-dialog ui-widget ui-widget-content ui-corner-all lightbox-dropshadow ui-draggable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-9681635"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" unselectable="on"><span class="ui-dialog-title" id="ui-dialog-title-9681635" unselectable="on">Welcome Back!</span><a href="#" class="ui-dialog-titlebar-close ui-corner-all" role="button" unselectable="on"><span class="ui-icon ui-icon-closethick" unselectable="on"></span></a></div><div class="lightbox ui-dialog-content ui-widget-content" id="9681635" style="width: auto; min-height: 0px; height: 274px; display: block; ">
<div class="post-watch-lightbox">
<h3>You just watched:</h3>
<div class="image-wrapper"><img alt="Switchedatbirthposter" src="http://s3.sidereel.com/tv_shows/50810/medium/switchedatbirthposter.jpg"></div>
<div class="lightbox-text">
<a href="/switched_at_birth" class="bypass-link"><h2 class="show-name">Switched at Birth</h2>
<span class="season-ordinal">Season 1, </span>
<span class="episode-ordinal">Episode 9</span>
<br>
<span class="link-name">Switched at Birth</span>
</a><div class="genre-information sr-gray">
<span class="heading-3">Genre:</span>
new-and-upcoming, Drama, abc-family, Teen
</div>
</div>
<div class="section-divider clear"></div>
<div class="actions">
<a href="/users/watched_episode/social_toggle?episode_id=1267219" class="mark-as-watched">Mark As Watched</a>
</div>
<div class="next-episode"><a href="/switched_at_birth" class="sidereel-next-episode">Watch The Next Episode</a></div>

<div class="link-actions">
<span><a href="/links/9681635/mark_as_broken" class="mark-as-broken" onclick="return false;" rel="nofollow">Broken Link</a></span>
|
<span><a href="/fragments/report_link_form/9681635" class="report-link report-link-id-9681635" rel="nofollow">Report Link</a></span>
</div>
</div>
</div></div>
The two pieces of code are of the same elment / script apart they have different links and text, can someone turn this into a filter so i can block.

Thanks Inadvanced

NGG


Edit 1 - After Looking at code more i found there another script, if possible could someone block that also please.

Code: Select all

<div class="ui-widget-overlay" style="width: 1343px; height: 1707px; z-index: 1001; "></div>

Re: A script i can't move! HELP!

Posted: Wed Aug 03, 2011 9:53 am
by Michael
You can hide an element of class "ui-widget-overlay" using the filter example.com##.ui-widget-overlay, where "example.com" is the name of the domain on which the rule is required.

Re: A script i can't move! HELP!

Posted: Wed Aug 03, 2011 4:09 pm
by nggentertainment
Michael wrote:You can hide an element of class "ui-widget-overlay" using the filter example.com##.ui-widget-overlay, where "example.com" is the name of the domain on which the rule is required.
Can i have an example of it?

Re: A script i can't move! HELP!

Posted: Wed Aug 03, 2011 5:19 pm
by Michael
I would provide you with the exact filter, but as you have not given a link to the website in question I cannot be more specific.

Re: A script i can't move! HELP!

Posted: Wed Aug 03, 2011 5:23 pm
by nggentertainment

Re: A script i can't move! HELP!

Posted: Wed Aug 03, 2011 5:36 pm
by Michael
I think that the following filters should hide the unwanted sections of the page:

Code: Select all

sidereel.com##.post-watch-lightbox
sidereel.com##.ui-widget-overlay

Re: A script i can't move! HELP!

Posted: Wed Aug 03, 2011 6:39 pm
by nggentertainment
Michael wrote:I think that the following filters should hide the unwanted sections of the page:

Code: Select all

sidereel.com##.post-watch-lightbox
sidereel.com##.ui-widget-overlay
Doesn't work sorry.

Re: A script i can't move! HELP!

Posted: Wed Aug 03, 2011 11:26 pm
by Michael
Which filter doesn't work? Does the rule sidereel.com##.ui-widget improve the situation?

Re: A script i can't move! HELP!

Posted: Thu Aug 04, 2011 12:45 am
by nggentertainment
Michael wrote:Which filter doesn't work? Does the rule sidereel.com##.ui-widget improve the situation?
it work's, but for instance on http://www.sidereel.com/How_I_Met_Your_ ... e-3/search when you click a link it used to show the box and the background was grey and inactive so i couldn't click any links, the way to "Reactive" the pages background was the exit the box on front.

Now with the filters, i looks like it looks but the page is inactive so i can't click any links or exit the box on the front, so i have to refresh the page.

I've looked at the code of the page again and i can not find anything, Would you mind taking a look at the page code and scripts?

Re: A script i can't move! HELP!

Posted: Thu Aug 04, 2011 9:01 am
by Michael
These filters may cause false positives, but they should prevent the appearance of the overlay entirely:

Code: Select all

||sidereel.com/javascripts/*/jquery/min.js
||sidereel.com/javascripts/*/jquery_tools.js
Is this what you want?

Re: A script i can't move! HELP!

Posted: Thu Aug 04, 2011 2:54 pm
by nggentertainment
Michael wrote:These filters may cause false positives, but they should prevent the appearance of the overlay entirely:

Code: Select all

||sidereel.com/javascripts/*/jquery/min.js
||sidereel.com/javascripts/*/jquery_tools.js
Is this what you want?
Thanks it works.

Re: A script i can't move! HELP!

Posted: Wed Nov 16, 2011 8:04 pm
by walterifk
wow great filter! thank you!

Re: A script i can't move! HELP!

Posted: Mon Apr 09, 2012 1:43 pm
by cast
well done:)
that was a big help from you
1000thx