無名小站的 Wretch Album Expander 一直跑的很好,但是我們家的 PIXNET Album Expander 在使用者自訂 CSS 時對 height/width 標 !important
就會爛掉...
今天花了時間去找,終於找到解法了:用 style.setProperty 蓋過去。在 Source for "PIXNET Album Expander" 這邊的程式碼裡面這樣寫:
this.style.setProperty('height', 'auto', 'important');
this.style.setProperty('width', 'auto', 'important');
改好的版本已經放到 Userscripts 上了:http://userscripts.org/scripts/show/24589,效果可以參考 GINOLA's Football Pics 這本相本。