Skip to content

Instantly share code, notes, and snippets.

@LeoDJ
Last active June 25, 2017 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeoDJ/7aee2f9239396063f807afd47b72d667 to your computer and use it in GitHub Desktop.
Save LeoDJ/7aee2f9239396063f807afd47b72d667 to your computer and use it in GitHub Desktop.
Banggood Compact Shopping Cart Bookmarklet
javascript:(function(){$(document.head).append('<style>.cart_main_list dt {display: none;}.cart_main_list dd ul {height: 75px;min-height: 0;}.cart_main_list dd ul .td_product a.img {margin-top: -20px;}.cart_main_list dd .ul_total {display: none;}.cart_main {margin-bottom: 0px;border: 0;padding: 0;}.cart_main_list dd ul .td_filter {display: none;}.cart_main_list dd ul .td_product_btn {display: none;}</style>')})()
javascript:(function(){$(document.head).append('<style>.cart_main_list dt {display: none;}.cart_main_list dd ul {height: 40px;min-height: 0;}.cart_main_list dd ul .td_product a.img {margin-top: -20px;}.cart_main_list dd .ul_total {display: none;}.cart_main {margin-bottom: 0px;border: 0;padding: 0;}.cart_main_list dd ul .td_filter {display: none;}.cart_main_list dd ul .td_product_btn {display: none;}.cart_main_list dd ul .td_product a.img {width: 40px;height: 40px;}.cart_main_list dd ul .td_product a.img img {width: 40px;height: 40px;}.cart_main_list dd ul li {padding: 0;}.cart_main_list dd ul .td_quantity a {top: 0;}.cart_main_list dd ul .td_product a.title {margin-left: 50px;}</style>');})()
.cart_main_list dt {
display: none;
}
.cart_main_list dd ul {
height: 75px;
min-height: 0;
}
.cart_main_list dd ul .td_product a.img {
margin-top: -20px;
}
.cart_main_list dd .ul_total {
display: none;
}
.cart_main {
margin-bottom: 0px;
border: 0;
padding: 0;
}
.cart_main_list dd ul .td_filter {
display: none;
}
.cart_main_list dd ul .td_product_btn {
display: none;
}
/*======================*/
/* even more compact */
/*======================*/
.cart_main_list dt {
display: none;
}
.cart_main_list dd ul {
height: 40px;
min-height: 0;
}
.cart_main_list dd ul .td_product a.img {
margin-top: -20px;
}
.cart_main_list dd .ul_total {
display: none;
}
.cart_main {
margin-bottom: 0px;
border: 0;
padding: 0;
}
.cart_main_list dd ul .td_filter {
display: none;
}
.cart_main_list dd ul .td_product_btn {
display: none;
}
.cart_main_list dd ul .td_product a.img {
width: 40px;
height: 40px;
}
.cart_main_list dd ul .td_product a.img img {
width: 40px;
height: 40px;
}
.cart_main_list dd ul li {
padding: 0;
}
.cart_main_list dd ul .td_quantity a {
top: 0;
}
.cart_main_list dd ul .td_product a.title {
margin-left: 50px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment