SIR Image Renamer

SIR Image Renamer

SIR is an Image Renamer. Provides meaningful image names when saving on Pixiv, Deviantart, Artstation, etc.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "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.0",
  "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"
      ]
    }
  ],
  "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"
    }
  }
}