https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching| Seven different types of CSS attribute selectors | |
| // This attribute exists on the element | |
| [value] | |
| // This attribute has a specific value of cool | |
| [value='cool'] | |
| // This attribute value contains the word cool somewhere in it | |
| [value*='cool'] |
| // See https://www.quora.com/How-do-I-bulk-delete-likes-on-Twitter | |
| inter = setInterval(() => { | |
| $("html, body").animate({ | |
| scrollTop: $(document).height()-$(window).height(), | |
| complete: setTimeout(() => {$('.ProfileTweet-action--unfavorite').click().remove()}, 1000) | |
| }) | |
| if($('.has-more-items').length == 0) { | |
| clearInterval(inter) |
| (function (context, trackingId, options) { | |
| const history = context.history; | |
| const doc = document; | |
| const nav = navigator || {}; | |
| const storage = localStorage; | |
| const encode = encodeURIComponent; | |
| const pushState = history.pushState; | |
| const typeException = 'exception'; | |
| const generateId = () => Math.random().toString(36); | |
| const getId = () => { |
| // [Noted in the comments below on 2023-10 - this script might not work very well anymore due to Elon ruining Twitter] | |
| // [Updated 2021-01-18 w/new selectors] | |
| // go to your account Likes page and run this in the console: | |
| function scrollToLoadMore() { | |
| // keep scrolling if twitter tries to stop loading more. | |
| // scroll up, then down to force infinite load. | |
| window.scrollTo(0, 0); | |
| setTimeout(function() { | |
| window.scrollBy(0, 9999999999); |
| // 1. Go to https://twitter.com/i/likes | |
| // 2. Keep scrolling to the bottom repeatedly until all your favs are loaded. | |
| // 3. Run this in your console (open in chrome by View > Developer > JavaScript Console) | |
| // Notes: this may take a while if you have a lot of favs/likes | |
| // you can only access your most recent ~2000 likes. | |
| // inspired by https://gist.github.com/JamieMason/7580315 | |
| $('.ProfileTweet-actionButtonUndo').click() |
| 320 | |
| 321 | |
| 322 | |
| 323 | |
| 324 | |
| 325 | |
| 326 | |
| 327 | |
| 328 | |
| 329 |
| /* bling.js */ | |
| window.$ = document.querySelector.bind(document); | |
| window.$$ = document.querySelectorAll.bind(document); | |
| Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); }; | |
| NodeList.prototype.__proto__ = Array.prototype; | |
| NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); }; |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?