Skip to content

Commit e5d9d9c

Browse files
committed
maj new domain
1 parent 0e2fda0 commit e5d9d9c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Description
44

5-
Adn Theater Mode is a Chrome extension that modifies the CSS of the [Animation Digital Network (ADN)](https://animationdigitalnetwork.fr/) website to provide a better viewing experience for videos. This extension is designed to enhance the video display size, making it more comfortable and convenient for users.
5+
Adn Theater Mode is a Chrome extension that modifies the CSS of the [Animation Digital Network (ADN)](https://animationdigitalnetwork.com/) website to provide a better viewing experience for videos. This extension is designed to enhance the video display size, making it more comfortable and convenient for users.
66

77
![!](https://i.imgur.com/VlB6Dlm.png)
88

content.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var styleTagId = "c";
44

55
// Function to detect URL changes
66
function onUrlChange() {
7-
if(window.location.href.startsWith("https://animationdigitalnetwork.fr/video/") && localStorage.getItem(keyName) == "true") {
7+
if(window.location.href.startsWith("https://animationdigitalnetwork.com/video/") && localStorage.getItem(keyName) == "true") {
88
changeCSS();
99
}
1010
else {
@@ -36,7 +36,7 @@ if(localStorage.getItem(keyName) === null) {
3636
localStorage.setItem(keyName, false);
3737
}
3838

39-
if(window.location.href.startsWith("https://animationdigitalnetwork.fr/video/") && localStorage.getItem(keyName) == "true") {
39+
if(window.location.href.startsWith("https://animationdigitalnetwork.com/video/") && localStorage.getItem(keyName) == "true") {
4040
changeCSS();
4141
}
4242

manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Adn Theater Mode",
4-
"version": "1.0",
4+
"version": "1.2",
55
"description": "Animation Digital Network Theater Mode.",
66
"permissions": [
77
"tabs",
@@ -26,16 +26,16 @@
2626
}
2727
},
2828
"host_permissions": [
29-
"https://animationdigitalnetwork.fr/*"
29+
"https://animationdigitalnetwork.com/*"
3030
],
3131

3232
"content_scripts": [
3333
{
34-
"matches": ["https://animationdigitalnetwork.fr/*"],
34+
"matches": ["https://animationdigitalnetwork.com/*"],
3535
"js": ["content.js"]
3636
}
3737
],
38-
"author": "contact@septmg.fr",
39-
"homepage_url": "https://septmg.fr/github"
38+
"author": "Mdevvv",
39+
"homepage_url": "https://github.com/Mdevvv"
4040
}
4141

script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var goodURL = false
55
try {
66
const response = await chrome.tabs.sendMessage(tab.id, {greeting: "location"});
7-
goodURL = response.farewell.startsWith("https://animationdigitalnetwork.fr")
7+
goodURL = response.farewell.startsWith("https://animationdigitalnetwork.com")
88
}
99
catch(err) {
1010

0 commit comments

Comments
 (0)