Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Hiroto, javascript fix for ASC.

Request: Copy page movement info to above the question.


I saw a post were you authored some JavaScript for injection into an ASC page via GreaseMonkey. I use Firefox 47.0 as my web browser.

Hiroto (followup question)

I was wonder if you would consider writing a little more JavaScript.


On a multi page post, it's a big pain to have to scroll down so you can skip to the next or last page. I was hoping you might be able to copy this info above the question. I rather it be copied then moved, but move is better than letting the movement info were it is.

User uploaded file


To be clear, this is the stuff I want copied.


User uploaded file

Should the thread be one page, some indication should be placed there instead. "one page only" , "page 1 of 1" etc.


Thanks in advance,


R

PS. perhaps this could be done via css. Move the relative modified to some other place.

Mac mini, OS X Yosemite (10.10.5), Fall 2014; iPhone 4 7.1.2

Posted on Jun 28, 2016 10:47 AM

Reply
Question marked as Best reply

Posted on Jun 28, 2016 2:34 PM

Hello


The simplest would be to pin the pagination navigator to the top right corner of the view port by CSS.


The following will move the first pagination navigator to the top right corner of the screen view port. It will stay there and may be annoying in another sense, though.



@-moz-document domain(communities.apple.com), domain(discussions.apple.com), domain(discussionsjapan.apple.com), domain(discussionskorea.apple.com), domain(discussionschinese.apple.com) { @media screen { .j-thread .jive-thread-messages .j-pagination:first-child { position: fixed !important; top: -30px !important; right: 0px !important; } } }



As for javascript solution, it would be possible but not simple. Not enough spare time for that now...


Good luck,

H

19 replies

Aug 3, 2016 7:19 PM in response to ChitlinsCC

You read my page before I changed it to be meaningless.


It might have been Firefox. Problem went away on page I loaded an hour ago. I then noticed the problem was still on another instance of the web page. Did more loading of pages. Found that the same page showed the avatars differently in two different windows! I'd guess the problem version was loaded two or more hours ago.


Turning on and off my changed headers css seems to have made the problem go away.


R

Aug 4, 2016 4:58 PM in response to ChitlinsCC

Forcing span.j-pagination.top's margin to 0 should ensure that the fixed location of pagination navigator will remain the same even when the span's margin in site style is changed again in the future.


Of cource you may leave the margin as is and adjust the top offset as you see fit, only that it would not save you from re-adjusting the offset in case margin is varied in site style.


It is a matter of who has control.


H

Hiroto, javascript fix for ASC.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.