SIR Image Renamer

SIR Image Renamer

SIR is an Image Renamer. Provides meaningful names when saving from Pixiv, Twitter, Deviantart, Tumblr, Artstation, Hentai-Foundry, Drawfriends, Vidyart, MedicalWhiskey and Instagram. Pʀᴏᴍᴏᴛes Tᴡɪᴛᴛᴇʀ & Iɴsᴛᴀɢʀᴀᴍ ɪᴍᴀɢᴇs ᴛᴏ ᴏʀɪɢɪɴᴀʟ ǫᴜᴀʟɪᴛʏ!

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "SIR Image Renamer",
  "short_name": "SIR",
  "description": "SIR is an Image Renamer.\nProvides meaningful image names when saving on Pixiv, Deviantart, Artstation, etc.",
  "icons": {
    "16": "SIR_16x16.png",
    "48": "SIR_48x48.png",
    "128": "SIR_128x128.png"
  },
  "version": "1.8.1",
  "manifest_version": 2,
  "permissions": [
    "downloads",
    "contextMenus"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://*.deviantart.com/*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/DA.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://*.artstation.com/*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/AS.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://*.pixiv.net/*",
        "*://*.pximg.net/*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/PX.js",
        "Enhancers/PX.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://*.tumblr.com/post/*",
        "*://*.tumblr.com/image/*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/TU.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://*.twitter.com/*",
        "*://*.twimg.com/*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/TW.js",
        "Enhancers/TW.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://*.hentai-foundry.com/pictures*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/HF.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://drawfriends.booru.org/*s=view*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/DF.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://vidyart.booru.org/*s=view*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/VA.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://danbooru.donmai.us/posts/*",
        "*://cdn.donmai.us/*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/DB.js",
        "Enhancers/DB.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://medicalwhiskey.com/?p=*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/MW.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://www.instagram.com/*"
      ],
      "run_at": "document_end",
      "js": [
        "Parsers/IG.js",
        "Enhancers/IG.js",
        "Content.js"
      ]
    },
    {
      "matches": [
        "*://*.kemono.su/*",
        "*://*.kemono.party/*"
      ],
      "run_at": "document_end",
      "js": [
        "Enhancers/KP.js"
      ]
    }
  ],
  "background": {
    "scripts": [
      "Background.js"
    ]
  },
  "commands": {
    "SIR_it": {
      "suggested_key": {
        "default": "Ctrl+Shift+1",
        "mac": "Command+Shift+1"
      },
      "description": "Shows the tags string generated from the image page"
    },
    "Decorate": {
      "suggested_key": {
        "default": "Ctrl+Shift+2",
        "mac": "Command+Shift+2"
      },
      "description": "Decorates discovered tags on the image page"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{3846b265-95c4-4371-9853-86df1b8cbaaa}"
    }
  }
}