AstroCB / StopScroll

Extension for Safari, Chrome, and Firefox that adds a context menu item to lock scrolling on a given window.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StopScroll Extension

This script adds a "pause" button to the context menu (the menu that shows up when you right click) on every page. You can use this to lock the scrolling of the page in one place to prevent it from moving.

When you are finished, you can unlock it by right-clicking again and selecting "Resume Scrolling" from the menu.

Pause Scrolling

Installation

Safari

Simply download and open the .safariextz file (Safari/StopScroll.safariextz), which will prompt you to add the extension to Safari.


If you'd like to modify it to suit your own needs, you can clone this repository and add the extension .safariextension to the end of the src folder located in the Safari folder (in other words, edit the name of the folder, and add .safariextension to the end of it; after you do so, the folder should be called src.safariextension).

File management gets wonky with git if I try to keep this extension on there, so I keep all of the source files in src, but the folder has to have the .safariextension extension to be able to open in Extension Builder.

Then, open Extension Builder, select "Add extension..." from the "+" menu in the lower left corner, and select the src.safariextension folder:

How to add to Extension Builder

You can then modify the files in the src.safariextension folder and reload to see the changes as needed.

Chrome

Download the .crx file (Chrome/StopScroll.crx), and follow Google's new instructions for installing extensions from outside the Chrome Web Store:

  1. Download the extension file from the website and save it to your computer.
  1. Click the Chrome menu icon Chrome menu on the browser toolbar.
  2. Select Tools > Extensions.
  3. Locate the extension file on your computer and drag the file onto the Extensions page.
  4. Review the list of permissions in the dialog that appears. If you would like to proceed, click Install.

If you'd like to modify it to suit your own needs, you can clone this repository and tinker with the files located under Chrome/src. If you need any information about Chrome extensions, see Google's Getting Started guide.

Firefox

Support for Firefox is preliminary.

  1. Download the .xpi file (Firefox/StopScroll.xpi) and drag it into an active Firefox window.
  2. Click "Install Now"

If you'd like to modify it to suit your own needs, you can clone this repository and tinker with the files located under Firefox/src. If you need any information about Firefox extensions, see Mozilla's guide.

This extension was inspired by this post on Ask Different.

About

Extension for Safari, Chrome, and Firefox that adds a context menu item to lock scrolling on a given window.


Languages

Language:JavaScript 85.4%Language:HTML 14.6%