stefan, (edited ) to wordpress
@stefan@stefanbohacek.online avatar

I updated my WordPress plugin that warns your site's visitors if they don't have an ad-blocker installed.

https://wordpress.org/plugins/detect-missing-adblocker

EDIT: You can now fully customize the note, including links to plugins and browser extensions you want to suggest.

By default, a link to my blog with a list of popular options will be shown.

https://stefanbohacek.com/project/detect-missing-adblocker-wordpress-plugin/#resources

Happy to get more recommendations!

cassidy, to mastodon
@cassidy@blaede.family avatar

I’ve promised enough people this, so I had to do it! 😁

Here’s my write-up of how I added client-side Fediverse-powered comments to my Jekyll blog using the Mastodon API.

Huge props to @jwildeboer for the initial inspiration, as well as @julian and everyone who provided feedback for inspiring the design improvements.

https://cassidyjames.com/blog/fediverse-blog-comments-mastodon/

✨💬 Reply to this thread then check the blog post comments to see it in action!

#Mastodon #Jekyll #WebDevelopment #ActivityPub #design

stefan, (edited ) to fediverse
@stefan@stefanbohacek.online avatar

Hey everyone! I recently posted about my latest project, a universal fediverse sharing button: https://stefanbohacek.com/project/fediverse-sharing-button/

Is this something that you'd find useful for your website or blog?

EDIT: Thanks everyone for sharing and trying this out! I fixed an issue on iOS some of you might have run into, just FYI.

schizanon, (edited ) to webdev

If there was an element that changes it's content when users interact with other elements on the page, what name would it have?

PLEASE NOTE: I am not suggesting that this element needs to exist; I am only asking what it would be called. I'm building a CustomElement, I just want it to have a name that makes sense.

Vote and suggest others in replies. Please boost for reach!

ryangorley, to opensource

I need some advice.

I'm increasingly unhappy with WordPress. It's the wrong tool for most client jobs.

I really like @getkirby. It's flexible, fast, easy. It's mature but fresh. The source is open but... it's not .

I trust these developers to behave ethically. It checks more feature boxes than any other CMS, by far. But, it lacks the insurance of that license.

WP is open, but feels proprietary. Kirby is proprietary, but feels open.

What would you do?

anatudor, to CSS

What are your top features you played with, got excited over as they were supported in one browser... then years passed & support hasn't improved?

Mine:
@​property Chrome-only for half a decade
filter() Safari-only since 2015
element() Firefox-only since forever

jensimmons, to CSS
@jensimmons@front-end.social avatar

Dear people who make websites,

Now that Safari 17.4 is available, what other new web technology — HTML, CSS, JS, Web API, media support, etc — would you like to see supported in Safari next?

What’s most needed?
What will you use it for?
Or how will it help your team serve your users?
Tell me a story…

#css #html #javascript #web #webdevelopment

schizanon, (edited ) to webdev

Dear #webDev

Who are your favorite #Web #educators and #developers who have stopped posting to Twitter? People who support #diversity and #openness in the #webDevelopment community on the #Fediverse instead of chasing engagement on a hate-site?

I want to #boost them!!!

#CSS #JavaScript #HTML #webDesign #accessibility #standards #foss #w3c #typescript #tailwind #react #reactjs #vue #svelte #11ty #serverless #jamStack #netlify #vercel #chrome #js #ActivityPub #developer #software #programming

julia, to rust

One thing I will say: Rust on the web is overkill. I know, it's tempting to have something like leptos and have a single language on both frontend and backend.

What you should be doing is using the web platform. Most work should be done on the server anyways, your front end code should only be used for progressive enhancement. The user shouldn't have to run JavaScript in order to use your site. Plain and simple.

anatudor, to accessibility

Forget CSS, people don't even know HTML.

Here's why I'm saying this: I've looked through demos made for last week's : https://codepen.io/challenges/2023/june/2 in order to get a better idea of how people want such a control to look and work.

And here are some numbers: 😭

schizanon, (edited ) to react

Red flags in a codebase

🚩 preventDefault
🚩 useMemo
🚩 fetch inside useEffect
🚩 <div onClick/>
🚩 a "hooks" directory
🚩 css files
🚩 icon library in package.json

alexstandiford, to blogging
@alexstandiford@fosstodon.org avatar

This presentation covers how I transformed my website from being a static digital portfolio into a dynamic hub, ingrained with my social presence, containing the most authentic version of me online.

https://www.alexstandiford.com/articles/speaking/presentations/reclaiming-authenticity-building-your-personal-hub-in-a-post-twitter-era/

ayo, (edited ) to webdev
@ayo@ayco.io avatar

Using lit-html with https://WebComponent.io 🤣

An example of using custom templating syntax & renderer 🎉

Try it on CodePen: https://codepen.io/ayoayco-the-styleful/pen/ZEwNJBR?editors=1010

jensimmons, to CSS
@jensimmons@front-end.social avatar

Web developers and designers,

What are you hoping to see at WWDC next week??

#css #html #javascript #webdevelopment

schizanon, to webdev

This might be heresy but:

  1. Code reviews are a massive productivity tax with tiny quality benefits
  2. They should not be mandated
  3. The author should feel free to request a review if they want it
  4. If you don't trust your engineers, invest more in CI, or hire better ones

sarajw, (edited ) to random
@sarajw@front-end.social avatar

Incremental update to http://sarajoy.dev/basic has been pushed :)

Edit: just to say that yes, it's very much under construction still, but what personal website isn't?

alexstandiford, to CSS
@alexstandiford@fosstodon.org avatar

CSS has gotten so, so good over the last few years. So many things that were really difficult to do are now trivial.

https://www.alexstandiford.com/uncategorized/2811/

fell, to CSS
@fell@ma.fellr.net avatar

CSS has a containment property whichs sole purpose is to improve rendering performance.

So, first, we develop an abstraction so developers don't have to worry about implementation details like performance. Then, as soon as we realise that our abstractions are (obviously) dog slow, we add more stuff to make them fast again and have developers worry about that instead.

At this point, we might as well ship websites as compiled binaries.

janriemer, (edited ) to javascript

This is mad 🤯

oxc - The Oxidation is creating a suite of high- tools for the / language re-written in - by Boshen:

https://github.com/web-infra-dev/oxc

Its linter is 50 - 100 times faster than ...

https://github.com/Boshen/bench-javascript-linter

...and its parser is even 2x faster than

https://github.com/Boshen/bench-javascript-parser-written-in-rust

tooling goes brrrrrrrrrrr! 🚀

stevenwoodson, to CSS
@stevenwoodson@mastodon.online avatar

1/4
When it comes to web dev, I'm a huge fan of finding simple solutions that leverage fundamental web technologies.

Here are two excellent articles I've stumbled across recently, one explaining 5 new CSS properties and the other about structuring vanilla JavaScript, both very much highlighting some great web fundamentals.

Coincidentally, both were written by a Chris that I admire so that's neat.





Flyingmana, to php
@Flyingmana@phpc.social avatar

I need book recommendations for software related books to buy via company budget.

Something in the wider area of and more

And also further recommendations on how and where to spend remaining education budget 👀

angelikatyborska, to webdev

Based on my experiences in various frontend codebases that were written without a frontend expert on the team (including my own old projects 💩), I compiled a list of 9 most common signs of frontend code quality issues that affect users https://angelika.me/2024/04/13/9-signs-your-frontend-code-has-quality-issues/

#Frontend #HTML #CSS #WebDevelopment

stefan, to fediverse
@stefan@stefanbohacek.online avatar

Do you want to add a "log in with your fediverse account" functionality to your site? I am working on a self-hosted node.js server that lets you do just that.

Care to give it a try?

https://github.com/stefanbohacek/auth-server

You can see it working on:

hypolite, to fediverse

I believe people on the are more likely to add alternative text to the images they post than on any other popular social media platform, that's great for . But it isn't the end-all-be-all of it. For example, when one of my contacts posts in German or Finnish or Farsi, I can copy the text and plug it in a translator to figure out what they meant.

However, when they share a picture including text in the same language, even if they transcribed the text in the picture in the alternative text attribute, I can't access it on mobile at all, and even on desktop I can't copy it from the default popup on mouse hover.

I tried to dabble with to reveal the alt-text attribute value using pseudo-content, but it doesn't work since we're dealing with an <img> which is an empty element by definition. Is there any other way to expose this attribute value other than just parse the text in the post body directly?

horuskol, to accessibility
@horuskol@phpc.social avatar

It's , but I want to put a little twist on it:

Do you have a blog with an feed?
Do you write about ?

Because I'd like to follow you and your feed :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • lostlight
  • All magazines