tattle-made / Uli

Software and Resources for Mitigating Online Gender Based Violence in India
https://uli.tattle.co.in
GNU General Public License v3.0
40 stars 29 forks source link

Week 1 : Adding `Inject SVG` Testing Code #593

Closed hardik-pratap-singh closed 4 months ago

hardik-pratap-singh commented 5 months ago

name: Week 1 Update about: Injecting svg into dummy html page labels: testing code Issue : #544


Describe the PR I have added a new folder c4gt_testing_code where I have added two versions of javascript, both are not final versions but basis for further work. c4gt_testing_code/inject_svg/ver1.js - This file contains js code regarding injecting svg after a single slur word from HTML page c4gt_testing_code/inject_svg/ver2.js - This file is an update of ver1.js where svg in injected against all slur words added in the slur list.

Steps to test the PR You can test them by running the c4gt_testing_code/inject_svg/index.html file Uncomment the script tags below accordingly.

Screenshots image