Pinterest changed their interface, they broke it, and I fixed it
Tags: Technology, web browserIf anyone uses Pinterest on a regular basis, you might noticed they recently changed their interface for the first time in just about a decade.
Previously, when you clicked on any image, it would highlight the image and allow you to “Visit Site” if it was linked from that image. Hitting [Esc] would then bring you back to the previous page, the page you came from before you clicked on the image.
Now they’ve update the UI and made it so you need to mouse over the image, and click a back arrow button to go back to the previous page. This is unnecessary and annoying, and breaks common web paradigms.
So I fixed it, with a simple ViolentMonkey/Greasemonkey browser add-on:
// ==UserScript==
// @name Pinterest: Escape ? Back
// @namespace https://pinterest.com/
// @version 1.4
// @description Press Esc on Pinterest to go back in history
// @match https://*.pinterest.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
'use strict';
document.addEventListener('keydown', function(event) {
if (event.key === 'Escape' && !event.defaultPrevented) {
var backButton = document.querySelector('button[data-test-id="back-icon-button"]');
if (backButton) {
backButton.click();
} else {
history.back();
}
}
});
})();
This now works as expected, and you don’t need to have your hand on the mouse or mouse around to find that back button.
Sometimes the simplest of solutions is all that’s required.
Thoughts about cheating on Zwift
Tags: Cheating, Technology, Zwift- Begin the distribution of Certified Zwift Engineers (aka “ZCE”). These would initially probably be the bike mechanic at your LBS to start with. They’re already there, they have the gear and they’re probably fixing your bike or adding equipment each season already. The ZCE would be able to train up on all aspects of Zwift, including app/game configuration, optimizing the experience for the end user. Oh, you have a Dell laptop with an integrated video card? Here’s some settings you can apply to make that work for you during crowded group events.They’d also be trained in how to configure and validate bike fit, power meters and sensors that tie back to the machine/device used to run Zwift. Having drop-outs? Here’s the tools to identify drop-outs and some workarounds that can help. This engages the LBS mechanics and the LBS itself to be a part of the growing Zwift ecosystem, not only just as an endpoint for bike upgrades and repair, but a full, end-to-end solution for building out a Zwift environment for the riders. Incentivizing those LBS mechanics to become ZCE then has the potential to ensure that more people come into the shop for bike fit, possible recommendations, upgrades, etc. I haven’t met a single bike mechanic who hates cycling. They do it because they have a passion for it, and they, like others, want to grow that passion. Who wouldn’t turn down the ability to learn something new and exciting about your passion?
- Those same LBS that have their mechanics certified as ZCE, can now brand their shop as “Zwift Certified Training Center”, and teach riders how to use Zwift (ala spin class? LBS Fondo?). Tactics, when to drain your power-up so you can pull the next one over that hill. Buying a trainer at Best Buy won’t have the same overall value as buying it at your Zwift Certified LBS, even if Best Buy has them for 10% cheaper.
- Those same LBS + ZCE, can now perform equipment certification and qualification. They can properly calibrate your Power Meter + trainer combination, regardless of what you’re using. Forget trusting Qalvin on your iOS device to calibrate your Quarq PM or trusting your Garmin Vector pedals to be accurate out of the box, let the ZCE at your LBS (ZBS?) handle that for you.