GithubHelp home page GithubHelp logo

plzthx / tab-memory-purge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andreasvb/tab-memory-purge

0.0 2.0 0.0 1.44 MB

Chrome用拡張機能。特定条件によってタブのページを別のページに置き換えて使用メモリを削減する。

Home Page: https://chrome.google.com/webstore/detail/aclmceilickagfkaddbiedcnccdkfafa

License: Other

JavaScript 88.33% HTML 7.78% CSS 3.89%

tab-memory-purge's Introduction

Tab Memory Purge

Google Chrome用のタブ拡張機能です。 設定した条件にそって、使用していないタブのメモリを解放します。

設定可能項目

  • 非アクティブのタブをアンロードする時間
    • 前回アクティブになった時間から設定した時間が過ぎると、メモリを解放します。
  • 除外するアドレス(正規表現対応)
    • 動作対象外のサイトを指定できます。
  • 各操作のキーバインド
    • 除外するアドレス(正規表現対応)
      • キーバインドの動作対象外のサイトを指定できます。
  • その他
    • その他の細かい項目を設定できます。

簡単な仕様

  • タブごとにsetIntervalを設定し、指定したアンロード時間ごとにアンロードするか否かを判断。
  • 一定時間ごとに、解放されたタブの一覧(セッション)を保存・自動解放処理のチェックを行う。
  • タブをアクティブにすると、時間はリセット。
  • アンロードする場合、拡張機能内のほぼ空のページを読み込み、メモリを解放します。
  • 現在のタブが除外リストに追加されているかどうかでツールバーのアイコンが変化します。
    • なにもなし = どの除外リストにもマッチしませんでした。
    • キーバインド× = キーバインドの除外リストにマッチ
    • 赤× = ユーザが指定した除外リストにマッチ
    • 赤K× = ユーザが指定した除外リストとキーバインドの除外リストにマッチ
    • 黄× = 拡張機能内で固定された除外リストにマッチ
    • 黄K× = 拡張機能内で固定された除外リストとキーバインドの除外リストにマッチ
    • 緑× = 一時的な除外リストにマッチ
    • 緑K× = 一時的な除外リストとキーバインドの除外リストにマッチ
  • ブラウザアクションのアイコンに現在、解放しているタブの数を表示します。

ライセンス

GPL Version 3

Those icons made by Google from www.flaticon.com is licensed by CC BY 3.0 https://github.com/electron226/Tab-Memory-Purge/tree/master/src/img/icons/material%20design

tab-memory-purge's People

Contributors

andreasvb avatar composite avatar jollfye avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.