Dial Congress

Displays the phone number of a member of the U.S. Congress when hovering over their name.

什么是Dial Congress?

Dial Congress是由Unknown开发的Chrome扩展程序,该扩展的主要功能是“Displays the phone number of a member of the U.S. Congress when hovering over their name.”。

扩展截图

screenshot
screenshot
screenshot
screenshot

下载Dial Congress扩展crx文件

下载Dial Congress扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        A truly representative democracy depends upon the voices of the people. This extension provides handy tooltips when you hover over the names of U.S. senators and representatives, displaying their D.C. office phone numbers (as well as party affiliation and state). Quickly and efficiently let your legislator know how you feel about the issues.

Whether it's to offer support of the latest filibuster or condemnation of the latest bill: make your voice heard!

Dial Congress requires access to the code for all web pages that you visit in order to mark any found congresspeople. For this reason, Chrome will warn you on installation that the extension can "Read and modify all your data on all websites you visit". Please note that we do not collect any personal information whatsoever. We do set data in your local storage, but only to maintain the active state of the extension between tabs and sessions. The code is open source and can be inspected at:

https://github.com/benjarwar/dial-congress

Feel free to submit bugs or feature requests to:

https://github.com/benjarwar/dial-congress/issues.


Change log:

v0.3.2 - 2017-04-12
- Removed reps that have left the House for White House appointments
- Tweaked the manifest, using simpler match for content scripts
- Removed unused references to old JSON in web accessible files hash

v0.3.1 - 2017-04-12
- Refines Senate and House data, adding middle names and making adjustments where applicable
- Each item accepts a string for suffix (rather than setting "junior" via a boolean value)
- Splits and checks for hyphenated versions of multi-word last names
- Bugfix for unicode and special character replacement in name preparation
- Prevents multiple markings from being wrapped around the same text (from race condition due to chunked processing)

v0.3.0 - 2017-03-26
- Major overhaul of the regular expression text matching functions
- Pre-generates large regular expressions for more efficient lookups
- Scaffolding for improved/specific middle/nickname matching
- Text replacements for smart quotes and common unicode accented vowels
- Extension active state stored to preserve state after browser restart
- Icon watermarking on tooltip
- Added !important declarations to avoid style discrepancies on certain websites

v0.2.2 - 2017-03-05
- Adds functionality to taskbar icon; user can enable/disable the extension; visual feedback while extension is processing
- Several bug fixes correcting false positives and unmatched content due to punctuation

v0.2.1 - 2017-03-02 
- Highlights members of House of Representatives
- Displays house affiliation (“Senate” or “House”) in the tooltip
- Various performance optimizations, scans DOM elements for last names first
- Scans JS/dynamically injected content after page load

v0.1.4 - 2017-02-05
- Fixed issues with false positive matches
- Switched to single large regex, scanning the DOM a single time
- Lazily instantiate tooltips on hover
- Added update listener

v0.1.3 - 2017-01-10
- Adds Google Analytics tracking
- Event tracking for tooltips built and hovered

v0.1.2 - 2017-01-10
- Refactored for better separation of concerns between various operations
- Added unit testing for regular expression matching
- Revised icon and added multiple sizes

v0.1.1 - 2017-01-10
- Added capacity to add an array of nicknames to each JSON item
- Match up to two additional words between first and last name
- Additional reg exp refinements

v0.1.0 - 2017-01-09
- Scans the DOM for potential matches to Senator data
- Wraps found matches with span tags and adds tooltip displaying party, state, phone number
- Breaks up DOM search processes so as not to block page UI access                    

扩展基本信息

名称 Dial Congress Dial Congress
ID khakhiicccmoaiijgmaoelbpjkcjmien
官方URL https://chromewebstore.google.com/detail/dial-congress/khakhiicccmoaiijgmaoelbpjkcjmien
简介 Displays the phone number of a member of the U.S. Congress when hovering over their name.
文件大小 1.5 MB
安装次数 203
当前版本 0.3.2
更新时间 2019-03-08
上架时间 2019-03-08
评分 5.00/5 共8次评分
开发者 Unknown
付费类型 free
帮助页面URL https://github.com/benjarwar/dial-congress/issues
支持的语言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Dial Congress",
    "description": "Displays the phone number of a member of the U.S. Congress when hovering over their name.",
    "version": "0.3.2",
    "browser_action": {
        "default_icon": {
            "19": "img\/icon-19.png",
            "38": "img\/icon-38.png"
        }
    },
    "background": {
        "scripts": [
            "js\/analytics.js",
            "js\/toggle.js",
            "js\/update.js"
        ]
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "css": [
                "bower_components\/tooltipster\/dist\/css\/tooltipster.bundle.min.css",
                "bower_components\/tooltipster\/dist\/css\/plugins\/tooltipster\/sideTip\/themes\/tooltipster-sideTip-noir.min.css",
                "css\/dial-congress.css"
            ],
            "js": [
                "bower_components\/jquery\/dist\/jquery.min.js",
                "bower_components\/mark.js\/dist\/mark.min.js",
                "bower_components\/tooltipster\/dist\/js\/tooltipster.bundle.min.js",
                "bower_components\/lodash\/lodash.js",
                "js\/house.js",
                "js\/senate.js",
                "js\/content.js"
            ]
        }
    ],
    "content_security_policy": "script-src 'self' https:\/\/ssl.google-analytics.com; object-src 'self'",
    "icons": {
        "16": "img\/icon-16.png",
        "48": "img\/icon-48.png",
        "128": "img\/icon-128.png"
    },
    "permissions": [
        "activeTab",
        "storage"
    ],
    "web_accessible_resources": [
        "img\/icon-38.png"
    ]
}