Git Product home page Git Product logo

webview-gm's Introduction

WebView-GM

Android Arsenal

This library for Android projects adds Greasemonkey-compatible user script support to standard WebView components (version 2.2+).

Usage

Download Download

Gradle
dependencies {
    compile 'at.pardus.android:webview-gm-lib:1.2.0'
    compile 'at.pardus.android:webview-gm-ui:1.2.0'
}
Maven
<dependency>
    <groupId>at.pardus.android</groupId>
    <artifactId>webview-gm-lib</artifactId>
    <version>1.2.0</version>
</dependency>
<dependency>
    <groupId>at.pardus.android</groupId>
    <artifactId>webview-gm-ui</artifactId>
    <version>1.2.0</version>
</dependency>
  • Create a new ScriptStoreSQLite object for script and value persistence, or implement your own ScriptStore.
  • Make the WebView class that you want to run scripts in extend WebViewGm, or use the ScriptBrowser class in the UI module.
  • Handle the management of scripts using the classes in the UI module, or extend them, or implement your own.

The demo module contains an implementation of the library and all its components. It uses a single WebView for both the download of user scripts and running them.

Apps using it

Pardus Android

Limitations

GM_xmlhttpRequest implementation is missing an "abort()" callback.

ToDo

Contributing

Fork the repository and send a pull request: https://help.github.com/articles/using-pull-requests/

webview-gm's People

Contributors

wbayer avatar rbroker avatar warren-bank avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.