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

Latest Version

Version
0.3.2
Update
March 8, 2019
Size
1.5MiB
Developer
Category
Users
172
Rating
4.77778 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
ActiveTab
Storage
See more

Dial Congress Extension

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
Read more

Source 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" ]}
Read more

Similar Extensions

icon

Legi-Share: Contact the House and Senate Extension · Social & Communication 172 4 ★ 355KiB

icon

ZBlackCard Luxury Metal Prepaid Debit Card Extension · Shopping 172 3 ★ 22.27KiB

icon

Ultra Button Extension · Productivity 172 66 ★ 144KiB

icon

Manager Extension · Productivity 172 4 ★ 491KiB

icon

Context Sense Extension · Productivity 172 0 ★ 24.76KiB

icon

WikiTopicHover Extension · Productivity 172 0 ★ 12.52KiB

icon

Rumin Extension · Productivity 172 5 ★ 544KiB

icon

Legal Files Chrome Extension Extension · Productivity 172 0 ★ 56.35KiB

icon

Wikipedia Watchlist Extension · News & Weather 172 18 ★ 366KiB

icon

Historian Extension · Productivity 172 4 ★ 1.24MiB

icon

Tellus Rental Management Tools - Work Orders Extension · Productivity 172 3 ★ 358KiB

icon

High Wiki Extension · Fun 172 1 ★ 197KiB

icon

GLaunch Extension · Productivity 172 5 ★ 787KiB

icon

HelloClips Extension · Productivity 172 3 ★ 27.61KiB

icon

4th Toolbar Spacer Extension · Accessibility 172 7 ★ 2.69MiB

icon

ManExt Extension · Accessibility 172 11 ★ 413KiB

icon

LayZ - Tab Manager Extension · Productivity 172 9 ★ 751KiB

icon

Bookmarks Table Extension · Productivity 172 26 ★ 180KiB

icon

OtterWriter - Get Amazing Templates Extension · Social & Communication 172 13 ★ 2.53MiB

icon

Close Tab in Context Menu Extension · Productivity 172 15 ★ 7.35KiB

icon

Sheen Extension · Accessibility 172 9 ★ 190KiB

icon

Tab Master 5000 Extension · Productivity 172 51 ★ 6.08MiB

icon

Shortcuts for Chrome Extension · Productivity 172 21 ★ 129KiB

icon

NoDetour Extension · Productivity 172 7 ★ 125KiB

User reviews

icon

Rose Cortico (ID: 0000002c13a749ef) Voted 5 ★ - Updated 01/27/2017 They can't hide. Thanks for this, just what we need right now.