instapaper-fluid
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Fluid userscript that converts Instapaper.com into a single-column UI and adds an unread counter to the dock icon.
Instapaper for Fluid.app
========================

This userscript turns the Instapaper website into a single-column UI which is more suitable when using Instapaper as a [Fluid.app](http://fluid.app) SSB. It also adds an unread count badge to the dock icon.


Usage
-----

1. Create a new Fluid app.
2. Enter `http://instapaper.com/u` as the URL and then enter a name (such as `Instapaper`).
3. Once the app is created, go up to the _Scripts_ menu and choose _New Userscript..._.
4. Name the script whatever you want (such as `Instapaper`).
5. In the blank script that appears, copy/paste the entire contents of `instapaper-fluid.user.js`.
6. Save the script and restart the Fluid app.
7. __(Optional)__ To make links open in the default browser rather than inside the Fluid app: open to the app's _Preferences_ panel, go the _Advanced_ section, and choose `[Allow] browsing to URLs mathing these patterns:` then enter the following patterns:
	- `http*://*.instapaper.com/browse*`
	- `http*://*.instapaper.com/u*`
	- `http*://*.instapaper.com/user*`
	- `http*://*.instapaper.com/edit*`
	- `http*://*.instapaper.com/archive*`
	- `http*://*.instapaper.com/delete*`
	- `http*://*.instapaper.com/starred*`
	- `http*://*.instapaper.com/liked*`
	- `http*://*.instapaper.com/skip*`
	- `http*://*.instapaper.com/add*`
	- `http*://*.instapaper.com/`
	- `http*://*.instapaper.com`


Unread Count
------------

The unread count badge only appears on the dock icon when in the _Unread_ section. Also, the unread count only reflects the number of articles on the current page (Instapaper.com shows 40 articles per page).


Folders
-------

On the full Instapaper site, the folders list is in the sidebar. Since the sidebar is removed in this userscript, the folders list has been moved to the main navigation bar, but only appears when in the _Unread_ section; clicking _Folders_ toggles the folders list (see screenshot below).


Icon
----

The included `.icns` file contains a custom 16-pixel icon which will appear in the Mac menubar when using the Fluid app in MenuExtra mode (_Instapaper Menu_ > _Convert to MenuExtra SSB..._). All other sizes in the icon file utilize the [official Instapaper icon](http://instapaper.com/images/press-kit/icon-512.png) which is a copyright of Instapaper, LLC.


Screenshot
----------

![Screenshot](http://f.cl.ly/items/312z022C1V1T2G231G3A/instapaper-fluid.png)

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。