Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyro2927/idotjs
dotjs for iOS
https://github.com/pyro2927/idotjs
Last synced: about 17 hours ago
JSON representation
dotjs for iOS
- Host: GitHub
- URL: https://github.com/pyro2927/idotjs
- Owner: pyro2927
- Created: 2012-05-17T14:46:45.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-11T01:52:56.000Z (almost 12 years ago)
- Last Synced: 2023-04-12T16:22:19.045Z (over 1 year ago)
- Language: Objective-C
- Size: 1.2 MB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# idotjs
[dotjs](https://github.com/defunkt/dotjs) for iOS. By storing .js files into your Dropbox folder `~/Dropbox/Apps/idotjs/`, you can inject Javascript into your mobile browsing experience.
## Installation
You can either download this project and install the application via Xcode, or install it from the [App Store](https://itunes.apple.com/us/app/idotjs/id592002638?ls=1&mt=8) for free.
## Javascript
idotjs uses [jQuery 1.8.2-minified](http://jquery.com/). If any script is named `default.js`, it will load every time a page is loaded.
## Controls
### Shake
Shake-to-sync with your Dropbox account.
### Swipes
Swipe left/right to go back/forward in the webview.
### TabBar
Left/Right arrows move back/forward in the webview. Action button to the right allows you to enter a specific web address. Refresh button refreshes current page.
## Example
Drop this into `Apps/idotjs/github.com.js`:
$('.header-logo-wordmark img').css('width', '97px').css('height', '80px').css('margin-top', '-15px').attr('src', '//bit.ly/ghD24e');
to get this![sample](http://i.imgur.com/Klx5k.png).