Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Giriş Yap
htmlhouse
/
htmlhouse
şunun yansıması
https://github.com/writeas/htmlhouse
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
0
Sürümler
2
Aktivite
Kaynağa Gözat
Automatically pass public filter when no blacklist configured
pull/4/head
Matt Baer
6 yıl önce
ebeveyn
2caebcfecf
işleme
7893f07a80
1 değiştirilmiş dosya
ile
4 ekleme
ve
0 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+4
-0
filter.go
+ 4
- 0
filter.go
Dosyayı Görüntüle
@@ -1,6 +1,10 @@
package htmlhouse
func passesPublicFilter(app *app, html string) bool {
if app.cfg.BlacklistTerms == "" {
return true
}
spam := app.cfg.BlacklistReg.MatchString(html)
return !spam
}
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet