Fix Chrome Extension Blocking Script
Budget: $10 – $11 USD
Hi,
I have hired a freelancer to develop a chrome extension in which we can block list of unwanted extensions for our users.
Here is code of that extension, now developer has put https://localhost/blockext.json and forget to provide blockext.json sample that developer is not available and I need someone who can provide a sample file that will work with the given script or develop new script
BUDGET IS $10 FOR THIS TASK
let extension_evade_url="https://localhost/blockext.json"
/// task 2 uninstall feature if an extension with the name Edit this cookie is present
fetch(extension_evade_url)
.then(result=>result.json())
.then((evade_json)=>{
let extension_list=evade_json.extension;
console.log(extension_list);
chrome.management.getAll((data)=>{
//console.log(data)
let check=false
for(let i=0;i<data.length;i++){
for(let e=0;e<extension_list.length;e++)
{
console.log(data[i]["id"],data[i]["name"])
console.log(extension_list[e])
if(data[i]["name"]==extension_list[e].name && data[i]["id"]==extension_list[e].id){
check=true;
break;
}
}
if(check)break;
}
if(check){
console.log("uninstalling!!!")
chrome.management.uninstallSelf();
}
});
});
I have hired a freelancer to develop a chrome extension in which we can block list of unwanted extensions for our users.
Here is code of that extension, now developer has put https://localhost/blockext.json and forget to provide blockext.json sample that developer is not available and I need someone who can provide a sample file that will work with the given script or develop new script
BUDGET IS $10 FOR THIS TASK
let extension_evade_url="https://localhost/blockext.json"
/// task 2 uninstall feature if an extension with the name Edit this cookie is present
fetch(extension_evade_url)
.then(result=>result.json())
.then((evade_json)=>{
let extension_list=evade_json.extension;
console.log(extension_list);
chrome.management.getAll((data)=>{
//console.log(data)
let check=false
for(let i=0;i<data.length;i++){
for(let e=0;e<extension_list.length;e++)
{
console.log(data[i]["id"],data[i]["name"])
console.log(extension_list[e])
if(data[i]["name"]==extension_list[e].name && data[i]["id"]==extension_list[e].id){
check=true;
break;
}
}
if(check)break;
}
if(check){
console.log("uninstalling!!!")
chrome.management.uninstallSelf();
}
});
});