Greasy Fork is available in English.

Reddit Old Mobile 📱

Mobile-friendly design for Reddit Old

< Feedback on Reddit Old Mobile 📱

Review: Good - script works

§
Posted: 2023-07-01
Edited: 2023-07-01

Thank you for this. It really helps make reddit on a mobile device usable. Will you consider making the header and the next/prev page buttons sticky so users dont have to scroll all the way down or up to access them?

§
Posted: 2023-07-01

I added https://greasyfork.org/de/scripts/469928-reddit-old-fixed-header to solve your header-request. The next/prev-buttons are a little tricky. I will look into it.

§
Posted: 2023-07-02

Thanks. I really appreciate you taking my feedback. I also saw you posted about using another script for infinite scrolling, so that takes care of the next/prev buttons request.

For the header thing I should have been more clear with my suggestions. I meant to ask if you could make it so the header section containing the "MY SUBREDDITS" is stickied to the top of the view window so it makes it easier to click on links to various subreddits, i.e. /r/all, /r/askreddit, etc., You can look at the image i uploaded.

I also will upload what CSS i used for the next / prev button if you are interested in how I got it to look like in the uploaded screenshot, but I do much prefer the infinite scroll link you posted about:

/* makes Reddit header float and stick to top */
div#header {
position: sticky !important;
top: 0 !important;
z-index: 9999 !important;
}

/* hides a bunch of crap for users not logged in */
.mobile-web-redirect-bar, .redesign-beta-optin, .commentsignupbar, .seo-comments, .seo-comments-recommendations, .listingsignupbar {
display: none !important;
}

/* makes the previous and next view more buttons stick to the bottom all the time */
.nav-buttons {
position: fixed !important;
bottom: 0 !important;
text-align: center !important;
border: 3px solid;
border-radius: 15px;
border-color: #cee3f8;
background-color: #cee3f8;
font-size: 2em;
z-index: 9998 !important;
width: 99%;
}

Just a few more questions:

(1) is the "sidebar" button supposed to work? It might be something from my end, but clicking on it does nothing.
(2) is there supposed to be a "login" link as well? I don't see it from my end, so I have to manually type the login url to login. There is a logout link afterwords.

I suck at CSS and javascript, so thanks for making this while reddit shits itself over blocking of 3rd party apps

§
Posted: 2023-07-11

Just wanted to let you know the sidebar doesn't work on Firefox Android. I have to change lines 242 - 245 from

document.documentElement.style.setProperty(
'--header-height',
`${window.$('#header').outerHeight(true) + extraHeaderHeight}px`
);

to the below in order to get it working for both desktop Firefox and Firefox Android

document.documentElement.style.setProperty(
'--header-height',
`${$('#header').outerHeight(true) + extraHeaderHeight}px`
);

§
Posted: 2024-03-06

Canonical.uz — это узкопрофильное Digital-агентство(https://canonical.uz/). Представляем полный арсенал комплексного узкоспециализированного интернет-маркетинга. Мы специализируемся на комплексном digital-маркетинге. Помогаем бизнесу расти, качественно привлекать новых клиентов с разнообразных источников рекламы, увеличивать конверсию, удерживать клиентов.

Post reply

Sign in to post a reply.