Compare Chrome extensions: Better Ruler vs ForceCORS

Stats Better Ruler Better Ruler ForceCORS ForceCORS
User count 20,000+ 2,000+
Average rating 4.77 3.81
Rating count 48 16
Last updated 2023-02-16 2014-03-21
Size 95.91K 81.24K
Version 1.3.12 1.1
Short description
A page ruler which can snaps around web elements for easier measurement. Provide convenience for front-end development and ui design Allows forcing Cross-Origin Resource Sharing headers on any desired URL; helpful when accessing remote services from a local host.
Full summary

A ruler which can snaps around web elements for easier measurement. Provide convenience for front-end development and ui design.

  • Click on the plugin icon to run the plugin. Click again to exit.
  • Hold down Alt/Option while moving the mouse to display the size of the element at the mouse position in real time. Hold down the left button and move, it will automatically snap to the edge of the element.
  • Double-click the current layer to enter the editing mode, in which the layer can be dragged and resized. Press Backspace to delete the current layer. Double-click on the layer again (or press Esc) to exit edit mode.
  • Press f(default, configurable) to show or hide the toolbar.
  • Press shift to show or hide the size.
  • You can use alt+z to activate/deactivate the plug-in. If it doesn't work, you can go to chrome://extensions/shortcuts to bind the key yourself. Or, After activating the plugin once, you can double-press z (default, configurable) to activate/deactivate the plug-in.
  • Go to chrome://extensions, find this plug-in and turn on allow access to file URL to take effect for local html files.

ForceCORS is a Google Chrome extension which allows you to selectively apply CORS Headers to any web server responses you choose. This is extremely helpful when developing a web application that makes Ajax/XHR requests.

The extension requires you to specify the domains that you wish to monitor and allows you to explicitly define the headers to be added. This is preferable to completely disabling XHR security in your browser, which is a big security hole.

Regarding Permissions In order to allow you to append headers to ANY arbitrary location, this extension requires access to intercept ANY web request. However, by default the extension does NOT monitor any web traffic. Only URLs you specifically whitelist will be read by the extension, and only headers that YOU specify will be appended.

Note: Headers added by this extension will not appear in the DevTools "Network" panel due to a known Chrome bug: https://code.google.com/p/chromium/issues/detail?id=258064

This extension is open source under the MIT License and can be found on GitHub: https://github.com/chrisdeely/ForceCORS