敏感词
来源:互联网 发布:非线性优化计算方法 编辑:程序博客网 时间:2024/04/20 18:14
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>敏感词</title>
<script src="js/angular.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body ng-app="myApp" ng-controller="myCtrl">
<input type="text" ng-model="minganci" /><br>
{{minganci|mingan}}
<script type="text/javascript">
var min=angular.module("myApp",[]);
min.filter("mingan",function(){
return function(input){
if(input.indexOf("法轮功")!=-1){
return input.replace("法轮功","**");
}
}
});
min.controller("myCtrl",function($scope){
$scope.minganci="敏感词";
});
</script>
</body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title>敏感词</title>
<script src="js/angular.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body ng-app="myApp" ng-controller="myCtrl">
<input type="text" ng-model="minganci" /><br>
{{minganci|mingan}}
<script type="text/javascript">
var min=angular.module("myApp",[]);
min.filter("mingan",function(){
return function(input){
if(input.indexOf("法轮功")!=-1){
return input.replace("法轮功","**");
}
}
});
min.controller("myCtrl",function($scope){
$scope.minganci="敏感词";
});
</script>
</body>
</html>
阅读全文
0 0
- 敏感词,敏感词,敏感词
- 敏感词
- 过滤敏感词
- JAVA过滤敏感词
- 敏感词过滤算法
- web过滤敏感词
- 敏感词过滤
- php敏感词过滤
- 过滤敏感词
- 过滤敏感词
- 写入敏感词
- 让人蛋疼的敏感词
- 敏感词过滤
- 敏感词替换
- 敏感词处理
- 过滤敏感词,脏词
- 敏感词屏蔽
- c++敏感词过滤
- 多线程下载及安装
- LinkedList 去除集合中自定义对象的重复值(对象的成员变量值都相同)
- ThinkPHP5出现No input file specified.Apache服务器解决方案
- 用户名:性别:地址:二级联动..
- 二级联动
- 敏感词
- 作业
- 11.10 作业
- 配置opencv出现ImportError: No module named cv2的错误解决办法之一
- Android 源码分析开篇
- Fragment+RecyclerView
- 心得
- Java封装继承覆盖
- 文章标题