Code Monkey home page Code Monkey logo

ferp's Introduction

Hi there , I'm Arpit Bhardwaj aka proffapt

I am an undergraduate from IIT Kharagpur.

Interested (and hence Reads) about Computers, Quantum Mechanics and Astronomy.
I sometimes write on blog.proffapt.me.

⭕️ For Professional details - READ MY RESUME


ferp's People

Contributors

fiddyhamma avatar fifirex avatar grapheo12 avatar proffapt avatar sigmadelusionist avatar simrancs avatar thealphadollar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ferp's Issues

UI/UX enhancement

Improve the UI for the extension and make it appealing to eyes along with being descriptive:

  • Better interactive buttons
  • Logo for the extension
  • Tooltip for the checkbox
  • Fix the size

Auto download Admit Card

Since the sole purpose of filling those forms is to be able to download the admit card for end-sems. Then after all the forms are filled, download the admit card automatically.

Browser extension for executing these javascript codes

There are a few javascript codes in this repository, have to implement an extension which shows the variant of feedback a user wants and then selects it. After it the extension does rest of the job for the user - might not include filling the captcha ( kudos to you if you can automate it ) - so the user won't need to run the script manually.

Build a Chrome version

Make changes so that the extension is also supported on chrome and create a separate binary / zip for it.
POA is not decided, neither is clear to me yet.

Implement autofill captcha

Final step towards complete automation - Captcha solving automation

For now the user needs to fill captcha manually.

  • Implementing this will need to change the code base to large extent, but will be easier as compared to current one.
  • Utilising some API will be our first go-to method.

Develop Chrome variant in Manifest v3

Chrome Manifestv3 has a few bugs, being listed below:

  • 'Not Eligible' Error when using ENTER to submit the form instead of button
  • Multiple dangling event listeners on button of main ui
  • Doesn't work on first click
  • All form filling is giving following error
    • Refused to run the JavaScript URL because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
    • Incorrect captcha.. subtracting more than 1

Automate release workflow

Note

All of these below have been implemented, checked options means they have also been tested.

Releases are published on the following platforms:

  • Github - (done)
  • Mozilla Add-on Store
  • Chrome web store

Update extension's LOGO

  • Currently the textures don't express out image
    • Make the rings a bit bigger
    • Add a Dark mode compatible icon
    • Add institutes logo somehow (Can google about IIT KGP easy to get.)

Cycle Text Feedback

Add a feature to cycle between different text feedbacks (strengths and weaknesses) while keeping the rest of the inputs the same.

[Firefox Bugs Report]

  • Multiple Button Clicks leads to multiple attachment of event handlers
  • All form filler is not working

Browser Extension

I am working on a Browser Extension for taking the automation to next level.
Checkout the current progress on the branch: extension and any further branch will be named extension-*.

Roadmap in my mind to implement, along with issues being faced:

  • Optimize the js, make them as better as I can.
  • Implement a bare extension as a proof of concept.
  • Buttons for all 3 variants of feedback.
  • A checkbox/radio button to ask whether to use this variant for all of the feedbacks, then wait for the user to fill captcha and press submit feedback.. then the extension will automatically select the next course/prof.. fill the form automatically and then user fills captcha and so on..
    • Test handleProf() function.
    • Get the state of checkbox from main.js onto *_feedback.js
    • Handle the bug when the code doesn't wait for pressing the submit button when the last prof's feedback is filled.
    • Some history or dangling listeners issue, breaks the code if it's not reloaded.
      FIX: reload page and the execute the driver code, maybe?
    • Combine all three scripts into one. Was being done in extension-makeonejs
      • Issue: feedback doesn't change unless you reload. Below is the working fix, will implement later.
        image
      • Fix issue: Garbage value of feedback after first iteration
        • Dangling Listeners.
  • Complete a full fledged working prototype of feedback form.
  • Implement the process to auto-click the alert button - bypassed it, lol.
  • Fix the garbage value bug on consecutive forms.

NOTE: These changes were done to dummy feedback form, update these

  • In feedback.js - implement document.getElementById('myframe').contentDocument.getElementById('sub'); in-place of anything document.*.

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.