spookyuser / laconic_hover Goto Github PK
View Code? Open in Web Editor NEWBrowser extension that shows Laconic text when hovering on a TV Tropes link.
License: MIT License
Browser extension that shows Laconic text when hovering on a TV Tropes link.
License: MIT License
https://www.npmjs.com/package/common-tags will work just as well
TV Tropes just had a major overhaul, which apparently has made this add-on not work anymore; it perpetually says "Loading…"
I wouldn't recommend trying to fix this immediately, because the overhaul broke so many things internally that there is probably going to be a lot of hotfixing over the next few days (maybe even weeks?). By the time all is said and done, maybe this add-on will be working again. But once things have settled down, if it's still not working, then I guess it'll need to be updated.
Since of late, the hover functions add a line break in the browser text.
Demo: https://www.screenpresso.com/=Knzlb
Title.
Steps to reporoduce:
Example, this is from hovering over the link to Omnipresent Trope (which redirects to Omnipresent Tropes) on the page Spoilered Rotten
Suggested fix: if Trope.title
contains 'aka: ' use anything after before this as the title when looking up the Laconic description
Edit: Fixed suggested fix, had the two halves swapped
On hovering over a link, it says "Loading..." but does nothing. On inspecting the console, it says invalid charset. It seems that the charset extracted from http headers is misleading for TextDecoder. Does hardcoding "UTF-8" fix it? Worked for me.
Not sure why, but the extension is no longer working for me. Whenever I hover over a a link, instead of the laconic text it just shows me the URL path (e.g."/pmwiki/pmwiki.php/Main/Trope") followed by "is not a valid URL."
When at high zoom levels the pop-up seems to default to opening above a given link the vast majority of the time even when there's not enough room above it to actually show everything. In contrast opening below it in this sort of situation (or just in general in my experience) tends not to get cut off.
For example this screenshot shows the issue. There's more than ample room below the link but not enough above it yet the pop-up still appears above the link.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.