| >Firefox used to be bad, but now it really is not strictly worse in any category. I can't run javascript bookmarklets in Firefox.[0] This makes Firefox unusable for me on sites like Youtube, Vimeo, etc. In Chrome, I use this technique extensively to speed up videos beyond 2x. (E.g. 8x playback speed to quickly get past the ads.) Yes, you can still paste javascript in a Developer Tools console tab to modify the current page's contents but that's very cumbersome. EDIT to the downvoters: - manually pasting "javascript:x" in the url bar does nothing to the current webpage - putting "javascript:x" into a bookmark and then using the UI to select that bookmark launches a new empty tab instead of modifying the current webpage If I have posted incorrect information, please state what I'm doing wrong. I just tested the above on Firefox 68.0.2. [0] https://stackoverflow.com/questions/32782860/javascript-book... |
javascript:(function(){(document.getElementsByTagName("video")[0]).playbackRate=prompt("Enter%20desired%20speed%20(e.g.%201.5)","1.5")})()
I also remember having some issues with porting bookmarklets from Chrome to Firefox, I believe the solution was wrapping them in an IIFE like here.