Code Monkey home page Code Monkey logo

daciolo-chrome-extension's People

Contributors

apfzvd avatar brunogalliez avatar dependabot[bot] avatar klowner avatar leeconnelly12 avatar matheushf avatar rudnetto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

daciolo-chrome-extension's Issues

Feature: Image replacement

The extension should change (almost) every image on page with Cabo Daciolo's pictures. Pretty similar with nCage extension.

What is needed:

  • Implementation of image replacement
  • Set of Cabo Daciolo's pictures

Add Babel and Webpack to project to enable ES6 usage

Add Node.js to the project (npm init), use babel to transpile our source files and use webpack to bundle vendor files and our source files.

Bundles:

  • app.bundle.js transpile and bundle our source files (at the moment, content.js and rules.js)
  • vendor.bundle.js bundle all third-party libraries used (at the moment, only jQuery lib)

All bundles should be generated to build/ folder.
Update manifest.json to load bundle files instead of directly loading our source files

Add Babel and Webpack to project to enable ES6 usage

Add Node.js to the project (npm init), use babel to transpile our source files and use webpack to bundle vendor files and our source files.

Bundles:

  • app.bundle.js transpile and bundle our source files (at the moment, content.js and rules.js)
  • vendor.bundle.js bundle all third-party libraries used (at the moment, only jQuery lib)
    All bundles should be generated to build/ folder.
    Update manifest.json to load bundle files instead of directly loading our source files

Adicionar suporte para mais de uma regra de transformação de texto

A aplicação deverá ter um arquivo de regras de transformação rules.js que será lido em content.js.
Esse arquivo deve fornecer uma lista (array) de regras de transformação de texto.

Cada regra deverá fornecer:

Atributo Tipo Descrição
selector string / regex String ou RegEx que será usado para selecionar texto
target string Resultado da transformação. É possível utilizar $& para referenciar o texto selecionado.

As regras deverão ser processadas em ordem que forem declaradas em rules.js

Sugestão nas trocas de texto

Olá, acho que ficaria mais legal trocar brasil por NAÇÃO BRASILEIRA e qualquer partido/PT por URSAL, o que acham?

Text transform won't work with SPAs

The extension actually handles DOM Elements and text transforms at page loading. So, if the DOM is rendered (or re-rendered) after the page is loaded, the extension won't capture the text and won't transform.

Maybe use some DOM Rendering events to trigger text transform?

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.