• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Need a simple way to password protect a webpage

      Hey Tildes! I've got a static, basic website, HTML and CSS. It's one page only. But I'd like to create a second page with some more private content that is password protected. I know that I can...

      Hey Tildes!

      I've got a static, basic website, HTML and CSS. It's one page only. But I'd like to create a second page with some more private content that is password protected.

      I know that I can accomplish this via .htaccess but what I don't like about this method is that when the user navigates to the page, they get a pop up asking for a username and password. What I would like is having the user navigate to the page, and then they are met with a simple form asking for just a password (no username). After they enter the password, the "veil" lifts or the page forwards and they get the private content.

      Here's the thing... the content really only needs to seem private. It's not super secret, personal information. I don't want it indexed by search engines (nofollow), and I want it basically hidden, but the password is only there to make the user feel exclusive. If some tech-minded person encountered this page and jumped through a bunch of hoops to get in without the password, it's not a big deal to me. In reality, 99.9% of people accessing this page will not be able to bypass the password.

      I'm guessing this can be accomplished easily in Javascript, but I don't really know much Javascript apart from finding code snippets and plunking them in. I also want to be able to fully design the password entry page so that it looks branded, so a code snippet plunked down into my HTML doc would be great for this.

      If there is an easy way to actually protect the content behind the password, that would be excellent. In this case, I imagine it would be much like a news site with an ad-blocker-blocker. Just some kind of pop-up that blocks all the content. Enter the password, and you're in.

      Anyhow, I hope I've described what I'm looking for accurately enough. Anybody have any easy and quick ways to accomplish this?

      14 votes
    2. Stylus userstyle that hides comment vote counts

      This simple stylus userstyle hides vote counts on both voted and unvoted comments and your own comments. I really like what Deimos did, it significantly improved my time here on Tildes. If you...

      This simple stylus userstyle hides vote counts on both voted and unvoted comments and your own comments. I really like what Deimos did, it significantly improved my time here on Tildes. If you want the feature back, install Stylus extension, click the Stylus icon > write style for tildes.net and paste this:

      /* Hide vote count for unvoted comments */
      .btn-post-action[name="vote"] {
          visibility: hidden;
          position: relative;
      }
      .btn-post-action[name="vote"]:after {
          visibility: visible;
      	content: "Vote";
          position: absolute;
      }
      
      /* Hide vote count for voted comments */
      .btn-post-action[name="unvote"] {
          visibility: hidden;
          position: relative;
      }
      .btn-post-action[name="unvote"]:after {
          visibility: visible;
      	content: "Voted";
          position: absolute;
      }
      
      /* Hide vote count for your own comments */
      .comment-votes {
          display: none;
      }
      

      Known issues

      • There is extra padding around Vote button
      • Extensions such as Vim Vixen cannot interact with Vote button
      10 votes
    3. Skeuomorphic vs Flat Design?

      Hey everyone! I was browsing around and came across this old topic again, late 2000's skeuomorphisism vs modern flat design. I've always strongly preferred the former for a variety of reasons and...

      Hey everyone! I was browsing around and came across this old topic again, late 2000's skeuomorphisism vs modern flat design. I've always strongly preferred the former for a variety of reasons and thought flat design was a regression, but I was curious, what do you guys think?

      10 votes
    4. What are the minimal features every good blog should have?

      I've been learning Laravel, and familiarizing myself with the framework by coding up a blogging website. Right now, it's minimally functional, and I'd like to add some more features to it. Since...

      I've been learning Laravel, and familiarizing myself with the framework by coding up a blogging website. Right now, it's minimally functional, and I'd like to add some more features to it. Since this is my first project with Laravel the code is a mess, and it's just about time for me to rewrite the whole thing. Before starting that, I'd like to have a better idea of what my final product should be. I don't want to recreate WordPress in Laravel, but I do want to have something I wouldn't spit at. Basically a project that would be good as a resume builder if I ever needed one.

      So far, my website allows users to...

      • register for an account, log in/out, update their email address and display name
      • create posts with a WISIWYG editor
      • upload files
      • create profiles
      • and manipulate everything through CRUD.

      What do you think the minimal features a blogging platform needs to have to be "complete" and usable as a stand-alone system?

      13 votes
    5. HBO Chernobyl miniseries discussion

      Thought a thread for this miniseries would be good, as I've only seen discussion of the trailer up here. As of today (16th May) there are two episodes out, and a companion podcast for each (though...

      Thought a thread for this miniseries would be good, as I've only seen discussion of the trailer up here. As of today (16th May) there are two episodes out, and a companion podcast for each (though I've not listened to these yet)
      I just watched both back to back, and I'm blown away. This is some very well made television, and somehow manages to be simultaneously nightmarish, and fully gripping. That this is based on real events is all the more amazing to me, and after watching the revelation about the exploding water tanks in the second episode I'm astonished that the world is as unscathed by this disaster as it is.

      24 votes
    6. When do you use a VPN?

      I try to be privacy focused. I don't use social media, I use Firefox with adblock and tracker protection, with duck duck go as my search engine. I also pay for proton vpn. My question is, when...

      I try to be privacy focused. I don't use social media, I use Firefox with adblock and tracker protection, with duck duck go as my search engine. I also pay for proton vpn. My question is, when should I use it? I use it when I'm on open networks on my phone, but that's about it. Do you guys run it 24/7 on your computer?

      25 votes