|
Post by tunescool on Sept 21, 2010 16:09:45 GMT -8
i really love this code because i love my boards and threads thin in height. on celebnook.proboards.com/index.cgi? it only works the first time i go in a board, if i go to the second page it doesnt work or if i go to another board it doesnt work. it works on every board on here tunescool2.proboards.com/index.cgi. could you get it to work on the main page with all the codes you made for it <script type="text/javascript"> <!-- // Remove Thread Listing Cell Padding if(location.href.match(/\?board|home=\w+(&page=\d+)?(&moderationmode=\d)?$/)) { var table = document.getElementsByTagName('table'); for(i=3; i<table.length; i++) { if(table.item(i).width == '100%' && table.item(i).cellSpacing == 1 && table.item(i).cellPadding == 4) { table.item(i).cellPadding = 1; } } } //--> </script> so recap, get code to work on second and every other page, as well as every board possible get to affect main page
|
|
|
Post by Wormopolis on Sept 21, 2010 22:32:30 GMT -8
looks like they changed how the URL is sent...
change
if(location.href.match(/\?board|home=\w+(&page=\d+)?(&moderationmode=\d)?$/)) {
to
if(pb_action.match(/home|boardindex/)) {
|
|
|
Post by tunescool on Sept 21, 2010 23:22:33 GMT -8
works everywhere, thanks
|
|
|
Post by Wormopolis on Sept 23, 2010 16:22:21 GMT -8
good deal.
|
|