Skip to content

Commit

Permalink
Merge pull request #10 from bgrenet/AjoutUM
Browse files Browse the repository at this point in the history
Ajout config pour l'université de Montpellier
  • Loading branch information
lovasoa authored Oct 3, 2022
2 parents 0a4e130 + a53aa53 commit 027b905
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
14 changes: 14 additions & 0 deletions ophirofox/content_scripts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ const ophirofox_config_list = [
AUTH_URL:
"https://bnf.idm.oclc.org/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=bnf",
},
{
name: "Université Grenoble-Alpes",
domains: ["grenet.fr"],
LOGIN_URL: "https://sid2nomade-2.grenet.fr/login",
AUTH_URL:
"https://sid2nomade-2.grenet.fr/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=grenobleT_1",
},
{
name: "Université de Montpellier",
domains: ["scdi-montpellier.fr"],
LOGIN_URL: "https://ezpum.scdi-montpellier.fr/login",
AUTH_URL:
"https://ezpum.scdi-montpellier.fr/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=MontpellierT_1",
},
{
name: "Pas d'intermédiaire",
domains: ["europresse.com"],
Expand Down
12 changes: 9 additions & 3 deletions ophirofox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@
"https://nouveau-europresse-com.rp1.ensam.eu/Search/Reading*",
"https://nouveau-europresse-com.proxy.scd.u-psud.fr/Search/Reading*",
"https://nouveau-europresse-com.docelec.insa-lyon.fr/Search/Reading*",
"https://nouveau-europresse-com.bnf.idm.oclc.org/Search/Reading*"
"https://nouveau-europresse-com.bnf.idm.oclc.org/Search/Reading*",
"https://nouveau-europresse-com.sid2nomade-2.grenet.fr/Search/Reading*",
"https://nouveau-europresse-com.ezpum.scdi-montpellier.fr/Search/Reading*"
],
"js": [
"content_scripts/europresse_search.js"
Expand All @@ -85,7 +87,9 @@
"https://nouveau-europresse-com.rp1.ensam.eu/Login*",
"https://nouveau-europresse-com.proxy.scd.u-psud.fr/Login*",
"https://nouveau-europresse-com.docelec.insa-lyon.fr/Login*",
"https://nouveau-europresse-com.bnf.idm.oclc.org/Login*"
"https://nouveau-europresse-com.bnf.idm.oclc.org/Login*",
"https://nouveau-europresse-com.sid2nomade-2.grenet.fr/Login*",
"https://nouveau-europresse-com.ezpum.scdi-montpellier.fr/Login*"
],
"js": [
"content_scripts/config.js",
Expand All @@ -99,7 +103,9 @@
"https://nouveau-europresse-com.rp1.ensam.eu/Search/ResultMobile*",
"https://nouveau-europresse-com.proxy.scd.u-psud.fr/Search/ResultMobile*",
"https://nouveau-europresse-com.docelec.insa-lyon.fr/Search/ResultMobile*",
"https://nouveau-europresse-com.bnf.idm.oclc.org/Search/ResultMobile*"
"https://nouveau-europresse-com.bnf.idm.oclc.org/Search/ResultMobile*",
"https://nouveau-europresse-com.sid2nomade-2.grenet.fr/Search/ResultMobile*",
"https://nouveau-europresse-com.ezpum.scdi-montpellier.fr/Search/ResultMobile*"
],
"css": [
"content_scripts/europresse_article.css"
Expand Down
3 changes: 3 additions & 0 deletions ophirofox/settings/options_ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
fieldset {
margin: 10px;
}
label {
display: block;
}
</style>
</head>

Expand Down

0 comments on commit 027b905

Please sign in to comment.