Well I mean it’s unclear to me that we’re much worse than previous points in history.
That’s interesting, because to me it’s very clear. After all, small isolated pockets of people ruining their economy and the environment they depend on is quite a bit different from all of humanity everywhere doing this.
Wild idea, but could it just be that you’re using it wrong? :D if you’re on lemmy.ca then almost nothing should be rewritten because almost all links already go to lemmy.ca. Only when you go to another instance somehow or a user posts a link, for example this one then it should be rewritten.
I did think of that! Sure wouldn’t be the first time I’ve done something like that, hehehe!! But no. For example, I’m on lemmy.ca, so I tried going to lemmy.ml and lemmy.world to see what the links looked like there. One of those I have a different account which I was logged in to, and the other I have no account so wasn’t signed in. Nothing.
However, I’ve been trying a few things here, including disabling all my other extensions and scripts, which didn’t make any difference. So then I left every extension disabled, removed your script, removed the few other scripts I installed in violentmonkey, removed violentmonkey, reinstalled violentmonkey and your script…and it was working again once more. So, I figured some other script or extension was causing havoc, so I renabled the other extensions and reinstalled the other scripts one by one, checking each time. They’re all enabled again. Still working. I dunno… Obviously something really weird is happening on my end. Right now, it’s working, so I’ll let you know if it starts to act odd again. My thinking right now is some other extension or script was messing something up big time, and all the disabling and re-enabling sorted it out somehow.
My working hypothesis right now: The issue wasn’t your script, it was something else on my system.
Thanks for your help with this, btw!
Yup, that’s my thinking too that there must be something weird going on here, though I can’t imagine what.
Just for fun, I fired up Chrome instead of Firefox, installed violentmonkey, installed your script, and am having the exact same issue there! I did get the dialog asking me to set the home instance, which I did, but no button in settings and no icons. No idea what’s going on.
Does it work again when you do a full refresh? So F5/press enter in the adress bar?
It does not. I’ve tried that several times. Also tried opening a new tab and typing the site url directly.
…and I spoke too soon. Worked fine when I installed it. As soon as I went to another page on the instance it stopped working again. No icons, no button in settings. No idea what’s going on.
Got it. Upgraded to 1.0.2.
Still no icons to the right of links.
I have 1.0.1. An attempted update shows ‘No newer update available.’
Ah, yes. It’s 1.0.1. Let me upgrade once again.
Got the ‘home instance’ dialog this time. Briefly checked it out, some of the links seem to be now directed towards my home instance, but there are no icons beside any link to show the original link as indicated in the description above.
Edit: Noticed the following error in the console:
Source map error: Error: URL constructor: tippy-bundle.umd.min.js.map is not a valid URL. Resource URL: user-script:http%3A//azzurite.tv//Lemmy%20-%20Rewrite%20Links%20to%20Home%20Instance Source Map URL: tippy-bundle.umd.min.js.map
Greasemonkey
Yes. The following error appears:
Script error in [Greasemonkey script http://azzurite.tv//Lemmy - Rewrite Links to Home Instance; version 1.0.0]: ReferenceError: GM_getValue is not defined
I installed it on Firefox with Greasemonkey. I don’t get the dialog asking if I want to set my instance to my home instance, and I have no button in my settings. So, at the moment, the script appears to be inoperative.
Edit: Tried a few more things. I visited several other instances, other than my home instance of lemmy.ca, and still don’t get any dialog about setting an instance to my home instance. Greasemonkey shows the script as enabled, but that’s it. I’m running Firefox 114.0.2 on Arch Linux.
Edit2: Attempted to post an issue at the referenced Gitlab page, but this page does not exist, and a search for this project was a dead end. I have disabled the script until/unless the authors provide more information as to what is going on.
Edit3: Found the Gitlab project. The provided URL on the Greasyfork page is incorrect. It should be https://gitlab.com/foundry-azzurite/lemmy-rewrite-links
I will leave an issue.
Some real Dukes of Hazzard vibes with that one!
Well, of course the data on what our actions (much of which are due to and based upon capitalism) are doing to are environment and climate, and inevitably must lead to given the implicit but incorrect assumption of infinite resources of that system, is everywhere and basically impossible to ignore these days, isn’t it? And, almost as easy to find is the data on other cultures killing themselves off (in the, at the time, limited scope of their part of the planet) due to their actions, such as Easter Island.