首页 \ 问答 \ 网站恶意软件[关闭](Website malware [closed])

网站恶意软件[关闭](Website malware [closed])

几天前,我注意到我的网站在谷歌上有恶意软件警告。 所以现在我找到了导致问题的原因,并删除了坏脚本,但恶意软件警告仍在显示。 任何人都可以告诉我接下来应该做什么来删除谷歌浏览器的警告。


few days ago I've noticed that my site has a malware warining on Google. So now I have found what caused the problem, and removed the bad scripts, but the malware warning is still showing. Can anyone tell me what should I do next to remove the warning from google chrome.


原文:https://stackoverflow.com/questions/17190703
更新时间:2022-04-04 20:04

最满意答案

用这5个字符串制作数组。 拿一个标签不要忘记连接它(IBOutlet不是IBAction)。 然后在接口构建器(IBAction方法而不是IBOutlet)中使用2个按钮一个用于递增,一个用于递减连接它们。 现在你有2个方法用于下一个按钮和上一个按钮。 在下一个按钮方法中,将数组的objectAtIndex增加1并在之前的按钮方法中将ObjectAtindex减少1.在标签上显示当前索引

注意:如果条件不超过[数组计数],则将条件设置为递增,并且在递减时不应超过0

你可以像这样制作自定义按钮

    UIButton *Button = [UIButton buttonWithType:UIButtonTypeCustom];  

在按钮上执行这样的方法

     [Button addTarget:self action:@selector(YourMethod) forControlEvents:UIControlEventTouchUpInside];

然后将此按钮添加到您的视图[YourViewName addSubview:Button]; 是的,您需要设置框架,以便将此按钮放在视图中


make array with that 5 strings . take one label do not forget to connect it(IBOutlet not IBAction). then take 2 buttons one for increment and one for decrement connect them too in interface builder(IBAction method not IBOutlet). now you have 2 methods for next button and previous button. in next button method increment objectAtIndex of array by 1 and in previous button method decrease ObjectAtindex by 1. show the current index on label

Note: put if condition in increment like if its not exceeding [array count] and in decrement it should not exceed 0

you can make custom button like this

    UIButton *Button = [UIButton buttonWithType:UIButtonTypeCustom];  

perform method like this on button

     [Button addTarget:self action:@selector(YourMethod) forControlEvents:UIControlEventTouchUpInside];

then add this button to your view [YourViewName addSubview:Button]; yes you need to set frame where you want to put this button in view

相关问答

更多
  • 这是另一种方法。 它不需要创建一个新的窗口对象,并且比上面的findNextSiblingBelowEventLocation:方法更简单(可能效率更高)。 - (NSView *)hitTest:(NSPoint)aPoint { // pass-through events that don't hit one of the visible subviews for (NSView *subView in [self subviews]) { if (![subView ...
  • 当然,Objective-C中的每个对象都可以接收通知,因此只需将此代码放在AppDelegate或您认为合适的地方,可能是某些模型类。 (顺便说一句:根据惯例,类名以ObjC中的大写字母开头) Sure, every object in Objective-C can receive notifications, so just throw this code in your AppDelegate or wherever you find appropriate, maybe some model cl ...
  • 你试过-[NSView dragImage:at:offset:event:pasteboard:source:slideBack:] ? Have you tried -[NSView dragImage:at:offset:event:pasteboard:source:slideBack:]?
  • 使用发布的代码,您可以在应用程序在前台运行时隐藏状态栏(“在用户面前”)。 但是一旦你关闭应用程序(例如使用后退按钮),或者当它在后台运行时,Android会根据系统设置自动重新启用状态。 当您的应用未在前台运行时,无法告诉Android以编程方式隐藏状态栏。 With the posted code you can hide the status bar when your application is running in foreground ("in front of the user"). But ...
  • 用这5个字符串制作数组。 拿一个标签不要忘记连接它(IBOutlet不是IBAction)。 然后在接口构建器(IBAction方法而不是IBOutlet)中使用2个按钮一个用于递增,一个用于递减连接它们。 现在你有2个方法用于下一个按钮和上一个按钮。 在下一个按钮方法中,将数组的objectAtIndex增加1并在之前的按钮方法中将ObjectAtindex减少1.在标签上显示当前索引 注意:如果条件不超过[数组计数],则将条件设置为递增,并且在递减时不应超过0 你可以像这样制作自定义按钮 UIB ...
  • 查看NSCursor的文档,它NSCursor您的需求。 使用NSCursor(image:hotSpot:)创建一个游标,然后使用push()进行设置,然后使用pop()将其更改回原来的状态。 Look at the documentation for NSCursor, which can do what you're looking for. Create a cursor with NSCursor(image:hotSpot:), then use push() to set it, and po ...
  • 当您执行某些事件(例如显示上下文菜单)时,运行循环将进入事件跟踪模式。 这意味着只会处理某些事件。 要在运行循环处于此模式时触发计时器,请在计时器的模式列表中包含NSEventTrackingRunLoopMode。 NSTimer *timer = [NSTimer timerWithTimeInterval:theInterval target:theTarget selector:theSelector userInfo:theUserInfo repeats:shouldRepeat]; [[NSR ...
  • 找到解决方案。 问题在于我的演员从长到无效*再回到NSView *。 直接从long转换到NSView *工作正常。 Found the solution. The problem was in my casting from long to void* and back to NSView*. Casting directly from long to NSView* works fine.
  • 如果有人来看 ,我在NSMenuItem自定义视图上面的Gap上发布了一个解决方案 这是代码: @interface FullMenuItemView : NSView @end @implementation FullMenuItemView - (void) drawRect:(NSRect)dirtyRect { NSRect fullBounds = [self bounds]; fullBounds.size.height += 4; [[NSBezierPath bez ...
  • 您是否正在寻找以下内容,其中有红色轮廓(笔划),但中心区域是透明的? 如果是这样,为了达到这个目的,我使用了以下代码: - (void)drawRect:(NSRect)frame { frame = NSInsetRect(self.frame, 3.0, 3.0); [NSBezierPath setDefaultLineWidth:6.0]; NSBezierPath *path = [NSBezierPath bezierPathWithRoundedRect:frame ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。