Hardwarezone.com.sg

Cleans up Hardwarezone.com.sg forums and price lists

  1. // ==UserScript==
  2. // @author Jerry Chong
  3. // @name Hardwarezone.com.sg
  4. // @version 0.1
  5. // @description Cleans up Hardwarezone.com.sg forums and price lists
  6. // @namespace https://github.com/zanglang/hwz
  7. // @icon http://www.hardwarezone.com.sg/img/icons/hwz.ico
  8. // @include http*://forums.hardwarezone.com.sg/*
  9. // @include http*://www.hardwarezone.com.sg/priceLists/preview/*
  10. // ==/UserScript==
  11.  
  12. /*global unsafeWindow: true, GM_addStyle: true */
  13.  
  14. GM_addStyle("td#right-ads,img[src^='/avatars'],div.hwz-ad-postbit,div[id^='hwz_ad_'],\
  15. div#masthead,div#posts td.alt1 > div:not([id^='post_message']),\
  16. div#sponsored-links,table#forum-ads-table + div,div#footer,div#floating-toolbar { display: none !important; }\
  17. #canvas.fixed { width: 100% !important; }\
  18. #plBrochureImageContainer > iframe { width: 100% !important; height: 800px !important; }\
  19. #canvasPrice div.contentWrapB { max-width: none !important; }\
  20. ");