1
0
Fork 0
forked from OpenNeo/impress
Dress to Impress, a big fancy Neopets customization tool!
Find a file
Emi Matchu 1972ecf043 Use async instead of defer for analytics script
We had this issue on Impress 2020 and I fixed it over there too. I guess
it went less noticed here on Classic, because it's a more
progressively-enhanced site in general (and this failure case is an
interesting argument for that architecture! lol).

On Impress 2020, I wasn't sure if the "waits for the document to load"
behavior of the `defer` attribute was necessary to the script, so I
chose to keep `defer` but move it _after_ the other scripts.

This time, I dug in a bit more, and found a Plausible author saying
that the choice was kinda arbitrary; and another person who had the
same issue as me, who said they switched to `async` and it worked well.
So, that's what we're doing now, too!

https://github.com/plausible/analytics/discussions/1907#discussioncomment-2754499
2024-08-31 12:15:27 -07:00
.devcontainer Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
.husky Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
app Use async instead of defer for analytics script 2024-08-31 12:15:27 -07:00
bin Add Solargraph autocomplete while in development 2024-07-01 15:35:39 -07:00
config Remove SSW link, does not work on neopets anymore 2024-08-30 01:46:59 -04:00
db Make thumbnail_url a manually overridable field for Alt Styles 2024-06-15 17:35:12 -07:00
deploy Add matchu@deathstar SSH key 2024-08-19 10:48:16 -07:00
lib Ensure rails public_data:pull doesn't use SSL for localhost 2024-07-07 17:21:54 -07:00
public Add a cute Ghost Acara to the 404 page 2024-04-20 21:31:27 -07:00
test Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
vendor Add x86_64 versions of some of the cached gems 2024-08-31 12:08:14 -07:00
.eslintrc.json Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
.gitignore Create rails public_data:commit task, to share public data dumps 2024-02-29 14:30:33 -08:00
.ruby-version Update Ruby to 3.3.4, and update gems 2024-08-27 17:06:22 -07:00
.solargraph.yml Add Solargraph autocomplete while in development 2024-07-01 15:35:39 -07:00
.yarnrc.yml Upgrade to Yarn 4.0.2 2024-01-14 23:05:53 -08:00
config.ru Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
falcon.rb Remove supervisor from the Falcon process? 2024-01-24 00:20:23 -08:00
Gemfile Update Ruby to 3.3.4, and update gems 2024-08-27 17:06:22 -07:00
Gemfile.lock Update Ruby to 3.3.4, and update gems 2024-08-27 17:06:22 -07:00
LICENSE.md Update GitHub links to point to our self-hosted OpenNeo Code 2024-02-29 11:24:21 -08:00
package.json Upgrade typescript-eslint dependencies 2024-05-06 15:08:37 -07:00
Procfile.dev Use local-only HTTPS certs for the development neopass-server 2024-03-14 18:01:54 -07:00
Rakefile Uninstall resque 2023-10-23 19:05:04 -07:00
README.md Oops, needs to be a README.md file! 2023-10-25 16:31:41 -07:00
yarn.lock Upgrade typescript-eslint dependencies 2024-05-06 15:08:37 -07:00

Dress to Impress beach logo

Dress to Impress

Oh! We've been revitalizing the Rails app! Fun!

There'll be more to say about it here soon :3