-
5 votes
-
Wikimedia RFC: Adopt a modern JavaScript framework for use with MediaWiki
6 votes -
GitHub acquires npm
26 votes -
The main Avast antivirus service contained a custom JavaScript interpreter, enabling wormable pre-auth RCEs. Avast has now disabled the emulator in response to a vulnerability report
13 votes -
Why the world needs CSS developers
6 votes -
Fixing memory leaks in web applications
6 votes -
Why JavaScript is eating HTML
33 votes -
TSLint will be deprecated by the end of 2020 in favor of ESLint
7 votes -
Smaller HTML Payloads with Service Workers
7 votes -
The Mysterious Double Tilde (~~) Operation
12 votes -
Firefox UI is now built with Web Components
21 votes -
Build your own React
7 votes -
Dissecting A Dweet: Shattered Tunnel - How to make a 3D tunnel in 140 bytes of JavaScript!
8 votes -
NPM CEO Bryan Bogensberger Resigned
6 votes -
Ember.js, Dr. Carvers Shave Butter, and disappearing products
10 votes -
Lezer (the parser used in CodeMirror 6)
3 votes -
QuickJS: A new JS interpreter/compiler by Fabrice Bellard
11 votes -
The Baseline Interpreter: a faster JS interpreter in Firefox 70
13 votes -
All the new ES2019 tips and tricks
7 votes -
StandardJS, a Javacript linter config with 3 million downloads/month starts showing advertisements in users terminals
20 votes -
Dissecting A Dweet: Parallax Mountains (Analyzing a 140 byte JavaScript demo)
3 votes -
A Simple Intro To Svelte
4 votes -
Dissecting A Dweet: Breaking Broke
6 votes -
Why is modern web development so complicated?
17 votes -
Dissecting a Dweet: Strange Attractor (a tiny 3D Lorenz system in javascript)
9 votes -
JavaScript: What’s new in ES2019
13 votes -
Dissecting A Dweet: Ring Weave ~ a 140 byte javascript animation
9 votes -
Dissecting A Dweet: Mini Black Hole
6 votes -
Dissecting A Dweet ~ Spirograph Design Generator
6 votes -
Dissecting A Dweet ~ Spiral Javascript Quine Explained
12 votes -
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 -
Hacking thousands of websites via third-party JavaScript libraries
5 votes -
Tail Call Optimization: The Musical
5 votes -
I’m harvesting credit card numbers and passwords from your site. Here’s how.
17 votes -
WebAssembly at eBay: A Real-World Use Case
9 votes -
Structure and Interpretation of Computer Programs, JavaScript Adaptation
3 votes -
I made 7 1k javascript demos in 2 weeks for JS1k! - My Epic Post-Mortem
6 votes -
Clever JavaScript does not mean simple or readable
8 votes -
Standardizing WASI: A system interface to run WebAssembly outside the web
8 votes -
Native File System API
6 votes -
A JavaScript-Free Frontend
16 votes -
Bootstrap 5 will remove jQuery as a dependency
27 votes -
Building a modern carousel with CSS scroll snap, smooth scrolling, and pinch-zoom
4 votes -
Scams, American Express, and obfuscated Javascript
10 votes -
Inrupt releases React SDK for Solid
6 votes -
Cappuccino: Objective-J based Web App Framework similar to GNUStep/Cocoa APIs
2 votes -
Ember 3.6 Released
4 votes -
The State of Javascript 2018
16 votes -
How Do I Make A Database?
Hello everyone! I've recently got an idea for a Database as a Service I'd like to create. The only issue is - I don't know how to create or host a database! I've only ever used Mongoose/mLab with...
Hello everyone!
I've recently got an idea for a Database as a Service I'd like to create. The only issue is - I don't know how to create or host a database!
I've only ever used Mongoose/mLab with Javascript, and a minimal amount of Postgres with Python.
If I'm looking to create a database that will, eventually, be able to store images, songs, and videos, where should I start my homework?
I can create the backend and the frontend with no issue - just stuck on this part here. If it's of any relevance, I most frequently use the MERN stack.
13 votes -
Houdini's Animation Worklet
3 votes