diff --git a/Gender/index.html b/Gender/index.html
index bd959d9..b6f5271 100644
--- a/Gender/index.html
+++ b/Gender/index.html
@@ -54,13 +54,13 @@
Welcome to Gender Detect
}
async function getRules() {
- Gender("Female");
- Gender("Male");
- return Rules
+ Gender("Female");
+ Gender("Male");
+ return Rules
}
function Gender(g) {
- Rules.set("https://www.gstatic.com/identity/boq/adssettingsui/demographic/i_gender_"+g.toLowerCase()+"_ee2fb99c014437125dfe9358e4ea50aa.svg", g);
+ Rules.set("https://www.gstatic.com/identity/boq/adssettingsui/demographic/i_gender_"+g.toLowerCase()+"_ee2fb99c014437125dfe9358e4ea50aa.svg", g);
}
async function AdPref() {
@@ -68,14 +68,14 @@ Welcome to Gender Detect
}
async function GenderDetect() {
- setTimeout(async _ => {
- var result = await AdPref();
- if(!result) {
- // Allow JS to finsh
- setTimeout(_ => {
- alert("Ad personalization is OFF");
- }, 50);
- return false
+ setTimeout(async _ => {
+ var result = await AdPref();
+ if(!result) {
+ // Allow JS to finsh
+ setTimeout(_ => {
+ alert("Ad personalization is OFF");
+ }, 50);
+ return false
}
result = await getWebsites();
var gender = (result.length === 1) ? result[0] : "Rather not say";
@@ -83,12 +83,12 @@ Welcome to Gender Detect
setTimeout(_ => {
if(result.length > 1) {
alert("Multiple genders cached");
- return false
+ return false
} else {
alert(gender);
- return true
+ return true
}
}, 50)
- }, 500)
+ }, 500)
}