r2dj

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

I didn't care for anything that came after personally, but season 1 was absolutely amazing.

[–] r2dj@kbin.social 2 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 2 points 1 year ago

It's been too long!

3
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