Skip to content

Instantly share code, notes, and snippets.

@ayalan
Last active February 22, 2016 07:39
Show Gist options
  • Save ayalan/6ae231b377622fd1f305 to your computer and use it in GitHub Desktop.
Save ayalan/6ae231b377622fd1f305 to your computer and use it in GitHub Desktop.
Clean up Leo Palace listings by adding this as a bookmark.
function() {
jQuery("#global, #header, #breadcrumb, #inquiry-form .points, .conTest5, .recommends-historys, .notices, #footCont, .outlines ul, #footer, .vacancys p.more, h2.heading ul.print, .conTest5, .maps .button, #btnTop").fadeOut();
jQuery(".outlines ul").fadeOut();
jQuery(".outlines table, .outlines .clearFix").css("width", "100%");
jQuery("[class^='inquiries20']").fadeOut();
jQuery("body").css("background", "white");
jQuery("h2.heading").css("font-size", "2em");
jQuery("h2.heading").removeClass("heading");
jQuery("h2 .sprite").removeClass("sprite");
jQuery("form [class^='image20'] .photo, form [class^='image20'] .gaikan, form [class^='image20'] .madori").remove();
jQuery("form [class^='image20']>.inner").prepend(jQuery("form [class^='image20'] .photos"));
jQuery("form [class^='image20']>.inner").css({"clear":"both", "overflow":"auto"});
jQuery("form [class^='image20']>.inner>[class^='inner']").remove();
jQuery("form [class^='image20']>.inner>.photos").css({"float": "none", "width" : "100%"});
jQuery("form [class^='image20']>.inner>.photos .buttons, form [class^='image20']>.inner>.photos .note").remove();
jQuery("form [class^='image20']>.inner>.photos img").css({"max-height" : "none"});
jQuery("form [class^='image20']>.inner>.photos img").css({"max-width" : "50%"});
jQuery("form [class^='image20']>.inner>.photos").append(jQuery("form [class^='image20']>.inner>.photos img"));
jQuery("form [class^='image20']>.inner>.photos ul.thumblist").remove();
jQuery("form [class^='image20']>.inner>.photos img").css("float", "left");
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment