Re:A vulnerability rating of your IP address
by dave5104 on Wednesday July 26, 2017 @11:27AM
(#14857015)
I also noticed they have some janky Javascript playing with the scrolling on the page, which also prevents me from using swipes to go back in my browser. Very annoying when sites mess with that. Give me my usual scrolling inertia!
Re:A vulnerability rating of your IP address
by balgan on Wednesday July 26, 2017 @11:30AM
(#14857044)
Thanks for this info, I've asked the guys to try and fix this! Apologies in advance!
Wow... I was about to use this on a landing page I'm building. Thanks for the tip!
Re:A vulnerability rating of your IP address
by nikkettt on Thursday July 27, 2017 @03:34AM
(#14863340)
I just did! Annoying the I had to reduce the number of particles significantly in order not to force CPU to spark. Does anyone have suggestions for an alternative library? (I really don't want to have to write something like this myself for a landing page, talk about overkill)
I know because I reviewed this library (https://github.com/VincentGarreau/particles.js) when a colleague wanted to add something similar to our site. The problem is it uses a naive O(n^2) algorithm for linking up particles when they get near each other, which wastes a lot of CPU cycles.
Running this script with a large number of particles and auto-linking on is ill-advised - but fortunately you can delete the <canvas> element quite easily to stop the script.