Shoutbox

Autopager - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Autopager (/showthread.php?tid=95313)

Autopager by Spunky on 08-24-2010 at 11:06 PM

Not sure if anybody will want this, but will post it in case they do.

Basically just an autopager script (made and tested in chrome; not tried in FF). Couldn't find anything like this already posted so I thought I'd go ahead.

If you use autopager already, I'm sure you'll already know how to import it.

XML code:
<autopager>
    <site>
        <urlPattern>http://shoutbox.menthix.net/*</urlPattern>
        <owner>SpunkyLM</owner>
        <quickLoad>true</quickLoad>
        <contentXPath>//div[@id='container']</contentXPath>
        <testLink>http://shoutbox.menthix.net/latest.php</testLink>
        <linkXPath>//a[contains(text(), '»')][1]</linkXPath>
        <desc>Messenger Plus Forum</desc>
    </site>
</autopager>


Works on all forum/sub-forum pages, latest posts and search results. I might be able to knock something up for the spam box too

EDIT: I've just noticed the information area in the top right (name, last login, PMs etc) only shows on the first page. Don't know why though...
RE: Autopager by prashker on 08-24-2010 at 11:09 PM

You're amazing.

[Image: epicwin_63415.png]

Thanks :cheesy:


RE: Autopager by Chrissy on 08-25-2010 at 12:43 AM

Can confirm it works fine in Firefox as well ;).

Firefox 3.6.8 :P


RE: Autopager by Chancer on 08-25-2010 at 10:24 PM

What exactly does it do?


RE: Autopager by prashker on 08-25-2010 at 10:46 PM

quote:
Originally posted by Chancer
What exactly does it do?
Autoloads next page and appends to the bottom of the current  page.
RE: Autopager by Chrissy on 08-25-2010 at 11:10 PM

Is there anyway to make the current page replace to the next page instead of adding it on to the bottom? Thanks.


RE: Autopager by Chancer on 08-26-2010 at 12:18 AM

quote:
Originally posted by SonicSam
Autoloads next page and appends to the bottom of the current  page.
Interesing. How do I install it on Chrome?

RE: Autopager by prashker on 08-26-2010 at 12:21 AM

quote:
Originally posted by Chancer
quote:
Originally posted by SonicSam
Autoloads next page and appends to the bottom of the current  page.
Interesing. How do I install it on Chrome?
Apparently this is a Chrome equivalent.

https://chrome.google.com/extensions/detail/mmgag...bbcleklifnobamjonh

Assuming it copies the FireFox version, you just add in the code from the first post....somehow
RE: Autopager by Chancer on 08-26-2010 at 12:45 AM

Either I'm a complete idiot, or this is the most hard-to-use extension I've ever tried.


RE: Autopager by prashker on 08-26-2010 at 12:50 AM

Apparently this explains how to add rules into it.

http://www.teesoft.info/content/view/109/1/


RE: Autopager by Chancer on 08-26-2010 at 01:11 AM

Yes, I did that, but it didn't work.
Edit: Weird, now it did. I guess I had to restart Chrome once after installing the extension.

Edit 2: WOOOOOHOO! I'm in an endless loop! It keeps loading the 2nd page over and over and over.


RE: Autopager by prashker on 08-26-2010 at 01:28 AM

quote:
Originally posted by Chancer
Edit 2: WOOOOOHOO! I'm in an endless loop! It keeps loading the 2nd page over and over and over.

Haven't tested myself....SPUNKMEISTER GOT SOME SPLAINING TO DO.
RE: Autopager by Chrissy on 08-26-2010 at 02:43 AM

quote:
Originally posted by SonicSam
quote:
Originally posted by Chancer
Edit 2: WOOOOOHOO! I'm in an endless loop! It keeps loading the 2nd page over and over and over.

Haven't tested myself....MATTY GOT SOME SPLAINING TO DO.
Matty? :S
RE: Autopager by prashker on 08-26-2010 at 03:45 AM

quote:
Originally posted by Chrissy
quote:
Originally posted by SonicSam
quote:
Originally posted by Chancer
Edit 2: WOOOOOHOO! I'm in an endless loop! It keeps loading the 2nd page over and over and over.

Haven't tested myself....MATTY GOT SOME SPLAINING TO DO.
Matty? :S
Fixed.
RE: Autopager by Spunky on 08-26-2010 at 05:29 AM

quote:
Originally posted by Chancer
Either I'm a complete idiot, or this is the most hard-to-use extension I've ever tried.

It is quite difficult, that's why I posted the rules. Did you change anything at all in the rules? There's no reason it should be loading the second page.

It grabs the next page (linked to from the >> symbol in the navigation area) and appends it to @id="container".

Chancer, which pages seem to loop?
RE: Autopager by blessedguy on 08-26-2010 at 12:45 PM

quote:
Originally posted by SonicSam
quote:
Originally posted by Chancer
Edit 2: WOOOOOHOO! I'm in an endless loop! It keeps loading the 2nd page over and over and over.

Haven't tested myself....SPUNKMEISTER GOT SOME SPLAINING TO DO.
Well, it's working alright in Chrome 7.0.503.dev [since when it's 7.0? ._.]

quote:
Originally posted by Chancer
Yes, I did that, but it didn't work.
Edit: Weird, now it did. I guess I had to restart Chrome once after installing the extension.
:wee:
I only refreshed all tabs, and importing the rules was a simple right click>[local] import rules :P
RE: Autopager by Chancer on 08-26-2010 at 10:33 PM

quote:
Originally posted by Spunky
Chancer, which pages seem to loop?
The last page of every topic.
RE: Autopager by Spunky on 08-27-2010 at 05:27 AM

quote:
Originally posted by Chancer
quote:
Originally posted by Spunky
Chancer, which pages seem to loop?
The last page of every topic.

That's pretty odd. Mine tried to load the next page and then just stops when it realizes it's on the last one
RE: Autopager by Chancer on 08-28-2010 at 01:01 AM

Are you using Chrome? I cleared all my rules, then added it again, still the same bug.

Edit: It's also happening on other sites, maybe it's not your fault, but the extension's.

Edit 2: I've found a better solution: FasterChrome. Seems to work with almost any page, no need to add rules. However, if it doesn't work, you won't be able to add, aswell.