// SZ 2025-11-30 — override SMF expandPages for "..." pagination function expandPages(spanEl, base_link, first_page, last_page, per_page) { try { var per = parseInt(per_page, 10) || 1; // Try to derive the real maximum page count by inspecting the pagination links. var maxPage = 1; var container = spanEl && spanEl.closest ? spanEl.closest(".pagelinks") : null; if (container) { var links = container.querySelectorAll("a.nav_page"); var maxStart = 0; links.forEach(function (a) { var href = a.getAttribute("href") || ""; // Match the last . segment, e.g. topic=15206.7650 var m = href.match(/\.([0-9]+)(?:$|[^0-9])/); if (m) { var n = parseInt(m[1], 10); if (!isNaN(n) && n > maxStart) maxStart = n; } }); if (maxStart > 0) maxPage = Math.floor(maxStart / per) + 1; } // Fallback to SMF-provided last_page if DOM inspection failed. if (!maxPage || maxPage < 1) { var last = parseInt(last_page, 10); maxPage = Math.floor(last / per) + 1; if (!maxPage || maxPage < 1) maxPage = 1; } var input = prompt("Go to page (1-" + maxPage + "):"); if (input === null) return; var page = parseInt(input, 10); if (!page || page < 1 || page > maxPage) return; var start = (page - 1) * per; if (start < 0) start = 0; var url = base_link; // base_link may be an HTML string contain an tag; try to extract href try { var tmp = document.createElement("div"); tmp.innerHTML = base_link; var a = tmp.querySelector("a"); if (a && a.getAttribute("href")) { url = a.getAttribute("href"); } } catch (err) { url = base_link; } // Replace common SMF patterns with the computed offset if (url.indexOf("%1$d") !== -1) { url = url.replace("%1$d", start); } else if (url.indexOf(";start=") !== -1) { url = url.replace(/;start=\d+/, ";start=" + start); } else if (/\.0(?!\d)/.test(url)) { url = url.replace(/\.0(?!\d)/, "." + start); } window.location.href = url; } catch (e) { // fail silently } }

GET OFF TOPIC...

Started by Princessofthechaosemerald, May 15, 2009 10:33 AM

Previous topic - Next topic

1 Guest

Mikey

porn

Post Merge: August 12, 2009, 11:08:55 PM

I like it 8D

NiGHTS

BA
NA
NA 8D OMG IVE STAYED UP ALL NIGHT AND IM FUCKING BOUNCING OFF THE WALLLSSSSSSS WEEEEEEE~

candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
candles are prrreeeeetty! look at the pretty candle! yes you is a pRIITY candle! :3
Signature

nikothehedgehog

Quote from: SonicFan47 on Aug 12, 2009 04:09 PM
Grittings!
Haven't seen you for a while!
gonna change the sig but im going to seaworld

JetTheHawk

Signature
NO SIGNATURE

CradledEggle

so i was talking with jet,and said a girl who had "boxxy" on her shirt flashed him,i think it was this boxxy.

Signature
------
~Circa 2009; We were kids back then, just looking for a past time~

xaio

Quote from: Rendel The Wolf on Aug 13, 2009 07:04 AM
so i was talking with jet,and said a girl who had "boxxy" on her shirt flashed him,i think it was this boxxy.


XD!! that's scared the crap outta me!!! it looks like a female, and un-cute version of my mii!!!
Signature

T3T
THE BRO SOCIETY!!!
bros:
michael(shiner)
HMS7
jeexx
light
sonic360
wind
wtf? i jsut noticed!! RENDEL'S NOT ON HERE!!!
i thank rendel for the sexy pic he drew me!! http://i44.tinypic.com/2hg662d.png
cartoon ver. http://i43.tinypic.com/zj8fly.png

i JIMP'd ~Jizzed In My Pants~ cause
John (same name <333)
Draco
jkid
rendel
(runnin outta space so you know who you are) ARE EPICALL!!!!

Hakudamashi

Quote from: Rendel The Wolf on Aug 13, 2009 07:04 AM
so i was talking with jet,and said a girl who had "boxxy" on her shirt flashed him,i think it was this boxxy.


I'd tap that
Signature
OR ELSE!
Compliments to our Goddess for this piece of superspecialawesome!
DO NOTCLICK!
m'kay

XtheHedgehog

my pingas is large...oh look beer =3

what i went off topic omfg that @ sign
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Dracoslythe

LMFAO so my mom saw some post I made about Boxxy on Facebook, and gave me a 20 minute lecture about how I was wrong, and about how hurt she must feel.

I just cranked up my mp3 player.  >.>
Signature



JetTheHawk

Quote from: Dracoslythe on Aug 13, 2009 03:41 PM
LMFAO so my mom saw some post I made about Boxxy on Facebook, and gave me a 20 minute lecture about how I was wrong, and about how hurt she must feel.

I just cranked up my mp3 player.  >.>
XD.

Signature
NO SIGNATURE

Elija2

Quote from: Dracoslythe on Aug 13, 2009 03:41 PM
LMFAO so my mom saw some post I made about Boxxy on Facebook, and gave me a 20 minute lecture about how I was wrong, and about how hurt she must feel.

I just cranked up my mp3 player.  >.>

Yes, I'm sure Boxxy is devastated about what you did.

Dracoslythe

Quote from: Elija2 on Aug 13, 2009 03:44 PM
Yes, I'm sure Boxxy is devastated about what you did.
Yes, although I doubt she will ever see it.
Signature



JetTheHawk

Signature
NO SIGNATURE


Light the Hedgehog