r2dj

joined 1 year ago
[–] r2dj@kbin.social 1 points 1 year ago

I think the best analogy is email. Email is built around standards, and it doesn't matter if you use outlook or gmail. That's similar to the fediverse (the standard) and knime/lemmy (the email providers in the analogy).

[–] r2dj@kbin.social 1 points 1 year ago

I'm out of the loop I think, what's wrong with cloudflare?

[–] r2dj@kbin.social 7 points 1 year ago

3M has known for half a century[1] that the effects of PFAS are dangerous, yet ignored the danger. The parallels with the fossil fuel industry (climate change) is noteworthy here. There's other industries that come to mind; tobacco and pharma for instance. Until these companies and the people responsible are truly held (criminally) accountable, instead of given a slap on the wrist (i.e., cost of doing business fines), nothing will change.

[1] https://theintercept.com/2018/07/31/3m-pfas-minnesota-pfoa-pfos/

[–] r2dj@kbin.social 6 points 1 year ago (1 children)

I don't get a lot of the negative sentiment here. To me Firefox is vastly superior to Chrome. Mozilla refactored and optimized performance years ago, which fixed many issues I had back then. It's open source, not driven by the interest of gathering data for the purpose of selling ads. I've set it up in exactly the way I like with some extensions and customizations that aren't possible in the Google browser. I can have hundreds and hundreds of tabs open without my computer grinding down to a halt. Is it perfect and aren't there things that can be improved? No. But it's pretty near to me.

[–] r2dj@kbin.social 3 points 1 year ago (1 children)

I only wish the would bring back the ability to have notes for bookmarks.

2
submitted 1 year ago* (last edited 1 year ago) by r2dj@kbin.social to c/firefox@lemmy.ml
 

Hi folks, are there any extension developers here? I've a question, not sure if it is possible.

I created a very simple extension which opens chatgpt in the sidebar. This works great, but the thing is, every time I open the sidebar, it refreshes the page. I don't want that, I'd rather it opens where I left off. Is there any way to accomplish this or is it a pipe dream? I'll post my code here:
manifest.json:

{

  "manifest_version": 2,
  "name": "ChatGPT Sidebar",
  "description": "Displays ChatGPT in sidebar.",
  "version": "1.0",
  "browser_specific_settings": {
    "gecko": {
      "strict_min_version": "54.0a1"
    }
  },

  "sidebar_action": {
    "default_icon": "icons/ChatGPT_logo.svg",
    "default_title" : "ChatGPT Sidebar",
    "default_panel": "sidebar/panel.html"
  },

  "permissions": ["tabs"],

  "commands": {
    "_execute_sidebar_action": {
      "suggested_key": {
        "default": "Alt+Shift+9"
      }
    }
  }

}

And the panel.html:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="refresh" content="0;url=https://chat.openai.com/" />
  </head>
<body></body>
</html>

[edit] formatting