Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Update main.js (#1583)

Cette révision appartient à :
kilo 2017-09-18 04:05:38 +02:00 révisé par GitHub
Parent e1f6a97a86
révision 4b603c6a60

Voir le fichier

@ -94,7 +94,7 @@ function resetCookies() {
var cookieName = (cookies[i].split("=")[0]).trim() var cookieName = (cookies[i].split("=")[0]).trim()
//Trim spaces because some cookie names have them at times //Trim spaces because some cookie names have them at times
if (excludedCookies.includes(cookieName)) { if (excludedCookies.includes(cookieName)) {
if(domain == "pantsu.cat") { if(domain == ".pantsu.cat") {
//only execute if cookie are supposed to be shared between nyaa & sukebei //only execute if cookie are supposed to be shared between nyaa & sukebei
var cookieValue = getCookieValue(cookieName) var cookieValue = getCookieValue(cookieName)
document.cookie = cookieName + "=;expires=Thu, 01 Jan 1970 00:00:00 UTC;" document.cookie = cookieName + "=;expires=Thu, 01 Jan 1970 00:00:00 UTC;"