mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-29 07:45:33 +00:00
Blocking a couple link domains by default.
This commit is contained in:
parent
771e290197
commit
315a91ab5c
5 changed files with 9 additions and 14 deletions
|
@ -4589,7 +4589,7 @@ FFZ.get_capitalization = function(name, callback) {
|
|||
// ---------------------
|
||||
|
||||
FFZ.prototype._remove_banned = function(tokens) {
|
||||
var banned_words = this.settings.banned_words;
|
||||
var banned_words = _.union(['j.mp', 'bit.ly'], this.settings.banned_words);
|
||||
if ( ! banned_words || ! banned_words.length )
|
||||
return tokens;
|
||||
|
||||
|
@ -4612,10 +4612,6 @@ FFZ.prototype._remove_banned = function(tokens) {
|
|||
isLong: false,
|
||||
censoredHref: token.href.replace(regex, "$1***")
|
||||
});
|
||||
/*{
|
||||
mentionedUser: '</span><a class="deleted-link" title="' + utils.quote_attr(token.href.replace(regex, "$1***")) + '" data-url="' + utils.quote_attr(token.href) + '" href="#"><banned link></a><span class="mentioning">',
|
||||
own: true
|
||||
});*/
|
||||
else
|
||||
new_tokens.push(token);
|
||||
|
||||
|
@ -7574,7 +7570,7 @@ FFZ.get = function() { return FFZ.instance; }
|
|||
|
||||
// Version
|
||||
var VER = FFZ.version_info = {
|
||||
major: 3, minor: 5, revision: 12,
|
||||
major: 3, minor: 5, revision: 13,
|
||||
toString: function() {
|
||||
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
|
||||
}
|
||||
|
|
4
script.min.js
vendored
4
script.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -824,7 +824,7 @@ FFZ.get_capitalization = function(name, callback) {
|
|||
// ---------------------
|
||||
|
||||
FFZ.prototype._remove_banned = function(tokens) {
|
||||
var banned_words = this.settings.banned_words;
|
||||
var banned_words = _.union(['j.mp', 'bit.ly'], this.settings.banned_words);
|
||||
if ( ! banned_words || ! banned_words.length )
|
||||
return tokens;
|
||||
|
||||
|
@ -847,10 +847,6 @@ FFZ.prototype._remove_banned = function(tokens) {
|
|||
isLong: false,
|
||||
censoredHref: token.href.replace(regex, "$1***")
|
||||
});
|
||||
/*{
|
||||
mentionedUser: '</span><a class="deleted-link" title="' + utils.quote_attr(token.href.replace(regex, "$1***")) + '" data-url="' + utils.quote_attr(token.href) + '" href="#"><banned link></a><span class="mentioning">',
|
||||
own: true
|
||||
});*/
|
||||
else
|
||||
new_tokens.push(token);
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ FFZ.get = function() { return FFZ.instance; }
|
|||
|
||||
// Version
|
||||
var VER = FFZ.version_info = {
|
||||
major: 3, minor: 5, revision: 12,
|
||||
major: 3, minor: 5, revision: 13,
|
||||
toString: function() {
|
||||
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
|
||||
}
|
||||
|
|
|
@ -556,6 +556,9 @@ body:not(.ffz-minimal-chat):not(.ffz-menu-replace) .emoticon-selector-toggle + s
|
|||
list-style-type: none;
|
||||
border-top: 1px solid rgba(0,0,0,0.2);
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.ffz-ui-popup ul.menu:not(.sub-menu) {
|
||||
cursor: ew-resize;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue