• Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Informal] What would you like to see on PC if anything was possible?

The return of the old Johto forum styles. I forget the exact name of the one I used to use.
 
The ability to mark some users as "don't treat a thread as unread if they are the only new poster in it". And maybe spoiler-ize all their posts by default.

EDIT: For anyone else using the Forever Standing theme, here's an implementation of the latter request as a GreaseMonkey script:
Code:
// ==UserScript==
// @name     PokéCommunity Ignore
// @include  https://www.pokecommunity.com/showthread.php?*
// @version  1
// @grant    none
// ==/UserScript==

// Hover over an account name to find it's user ID.
// https://www.pokecommunity.com/members/[color=red]userId[/color]
// For example to hide myself, Wavee, and Her (the three previous posters in this thread) you'd use:
// const userIds = [451077, 629590, 92268];
const userIds = [];

userIds.forEach(id => {
  document.querySelectorAll(`.post[data-userid="${id}"]`).forEach(post => {
    // Remove the signature.
    let signature = post.querySelector('.post-signature');
    if (signature) signature.parentNode.removeChild(signature);

    // Spoilerize the content.
    let bodyContainer = post.querySelector('table > tbody > tr:nth-child(3)');
    if (bodyContainer) {
      let body = bodyContainer.querySelector('td');
      if (body) {
        let show = document.createElement('button');
        show.appendChild(document.createTextNode('Show'));
        show.addEventListener('click', _ => {
          bodyContainer.removeChild(showContainer);
          bodyContainer.appendChild(body);
        });
        let showContainer = document.createElement('td');
        showContainer.appendChild(show);
        bodyContainer.removeChild(body);
        bodyContainer.appendChild(showContainer);
      }
    }
  });
});
 
Last edited:
Back
Top