Git Product home page Git Product logo

custom-javascript-for-websites-2's Introduction

Custom JavaScript for websites

CircleCI Build Status dependencies Status devDependencies Status

Maintainability DeepScan Grade

JavaScript Style Guide

Custom JavaScript for Websites 2 - Chrome Extension

Run custom JavaScript on any website. Use this tool to inject custom javascript in any website.

Your scripts are kept in the local storage and applied across domain URLs.

You can use jQuery 1.11.x or 2.1.x or your own external scripts.

Use cases:

  • site debugging (wrong list sort, etc.)
  • hiding annoyng popups and Ads
  • custom UI
  • anything you can think of :)

New features:

  • Ace Editor (formating, highlight, undo/redo by hotkeys)
  • Draft auto save (so doesn't matter when you close the window without saving)
  • Hosts (websites) switch (you can browse customjs of other websites)
  • Include external script (eq. Underscore.js is cool)

Thanks to:

base.js

You can find base.js at extension/lib/base.js. It provides useful functions for you. You can directly use all functions in your JavaScript code. To avoid name conflict, all functions start with customjs.

Now there're only one function:

customjsReady

customjsReady('.nav', function(element) {
  // do something
});

The customjsReady wiil be called when an element matching the selector is added to the DOM. You can find more details from: http://ryanmorr.com/using-mutation-observers-to-watch-for-element-availability/

Special thanks to Ryan Morr

Why Custom JavaScript for Websites 2

Since the author haven't update original extension for almost one year. Its website http://hromadadan.com is also unavailable. I can not find the author.

But the sync feature is urgent. So this repos is here.

You can download older versions from: https://crx.dam.io/ext/ddbjnfjiigjmcpcpkmhogomapikjbjdk.html

custom-javascript-for-websites-2's People

Contributors

xcv58 avatar

Watchers

 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.