/scrapbox-recent-pages

This is a browser extension to watch scrapbox pages.

Primary LanguageJavaScriptMIT LicenseMIT

scrapbox-recent-pages

This is a browser extension to watch Scrapbox pages.

Usage

Recent Pages

This tab shows links to recently updated pages of specified projects.

Watch Pages

This tab shows links to unread pages that were updated after you had visited.

Scrapbox Enterprise

To watch Scrapbox Enterprise, configure src/manifest.json and src/settings.js.

{
  ...
  "permissions": [
    "https://scrapbox.io/*/*",
    "https://YOUR-HOST/*/*",
    "contextMenus",
    "storage",
    "cookies"
  ],
  ...
  "content_scripts": [
    {
      "matches": [
        "https://scrapbox.io/*",
        "https://YOUR-HOST/*"
      ],
      ...
    }
  ],
}
class Settings {

    constructor(settings) {
        ...
        this.sites = settings.sites || [
            {baseUrl: 'https://scrapbox.io', projects: []},
            {baseUrl: 'https://YOUR-HOST', projects: []}
        ];
        ...
    }
    ...
};

Install

To install, use Load unpacked extension.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

Author

Kenichi Ohtomi