WO2019000723A1 - 一种实现弹窗交互事件的方法、装置及计算机设备 - Google Patents

一种实现弹窗交互事件的方法、装置及计算机设备 Download PDF

Info

Publication number
WO2019000723A1
WO2019000723A1 PCT/CN2017/107064 CN2017107064W WO2019000723A1 WO 2019000723 A1 WO2019000723 A1 WO 2019000723A1 CN 2017107064 W CN2017107064 W CN 2017107064W WO 2019000723 A1 WO2019000723 A1 WO 2019000723A1
Authority
WO
WIPO (PCT)
Prior art keywords
pop
popup
current
component element
window
Prior art date
Application number
PCT/CN2017/107064
Other languages
English (en)
French (fr)
Inventor
刘富龙
张文明
陈少杰
Original Assignee
武汉斗鱼网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 武汉斗鱼网络科技有限公司 filed Critical 武汉斗鱼网络科技有限公司
Publication of WO2019000723A1 publication Critical patent/WO2019000723A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Definitions

  • the invention belongs to the technical field of station platform development, and in particular relates to a method, a device and a computer device for realizing a pop-up interaction event.
  • component developers provide tools (templates or components) to the platform.
  • Active web developers can quickly develop high-quality event pages based on the tools (templates or components) provided.
  • the traditional website-building platform does not have this function because of the interaction involving the event. Only the developer can rewrite the code and embed the event interaction through the code.
  • the present invention provides a method, a device, and a computer device for implementing a pop-up interaction event, which are used to solve the interaction function of a pop-up event in a self-service website platform in the prior art. It can only be achieved by rewriting the code, which leads to an increase in the time cost of web development, which in turn reduces the technical problem of web page construction speed.
  • the present invention provides a method for implementing a pop-up interaction event, which is applied to a website construction platform, and the method includes:
  • the acquiring the current popup component element currently clicked based on the preset popup interaction rule includes:
  • the current popup component element currently clicked is obtained by the acquisition function document.querySelector(M).
  • the acquiring the current click event corresponding to the current popup component element based on the preset popup interaction rule includes:
  • the current click event corresponding to the current popup component element is obtained by the listener function addEventListen by using the popup window listener.
  • the method further includes: performing a default event operation of the current popup component.
  • the method includes:
  • the method further includes:
  • the method further includes:
  • the present invention also provides an apparatus for implementing a pop-up interaction event, which is applied to a platform for building a station, the apparatus comprising:
  • a building unit configured to construct a pop-up container assembly in the building platform, and push at least one pop-up assembly element into the pop-up container assembly to form a pop-up window;
  • An obtaining unit configured to acquire a current popup component element currently clicked and a current click event corresponding to the current popup component element based on a preset popup interaction rule
  • a determining unit configured to determine whether the to-be-linked address of the current click event can be successfully matched with the exposed hook of the pop-up container component, and if the to-be-linked address can be successfully matched with the exposed hook, triggering the bullet The window is displayed.
  • the present invention also provides a computer readable storage medium having stored thereon a computer program The following steps are implemented when executed by the processor:
  • the invention also provides a computer device for realizing a pop-up interaction event, comprising:
  • At least one processor At least one processor
  • At least one memory communicatively coupled to the processor, wherein
  • the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of the above.
  • the present invention provides a method, apparatus, and computer apparatus for implementing a pop-up interaction event, which is applied to a platform for building a station, the method comprising: constructing a pop-up container assembly in the built-in platform, to the pop-up container assembly Pushing at least one popup component element to form a popup window; acquiring a current popup window component element currently clicked and a current click event corresponding to the current popup component element based on a preset popup interaction rule; determining the current click Whether the address of the event to be linked can be successfully matched with the exposed hook of the pop-up container component, and if the address to be linked can be successfully matched with the exposed hook, the pop-up window is triggered; thus, a pop-up window is constructed in advance a container assembly that can push various types of pop-up container component elements into the pop-up window assembly, when a pop-up container component element interacts with the pop-up window, when the current click event of the current pop-up component element is obtained After that, if
  • FIG. 1 is a schematic flowchart of a method for implementing a pop-up interaction event according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for implementing a pop-up interaction event according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic diagram of an overall structure of a computer device for implementing a pop-up interaction event according to Embodiment 3 of the present invention.
  • a method, apparatus, and computer apparatus for implementing a pop-up interaction event are provided for use in a website construction platform, the method comprising: constructing a pop-up container assembly in the construction platform, and pushing at least one of the pop-up container assembly Pop-up window component element, forming a pop-up window; acquiring a current pop-up window component element currently clicked and a current click event corresponding to the current pop-up component element based on a preset pop-up window interaction rule; determining the current click event waiting Whether the link address can be successfully matched with the exposed hook of the pop-up container assembly, and if the to-be-linked address can be successfully matched with the exposed hook, triggering the corresponding pop-up display.
  • the embodiment provides a method for implementing a pop-up interaction event, which is applied to a platform for building a station. As shown in FIG. 1 , the method includes:
  • the module includes: a HyperText Markup Language (HTML) file, a Cascading Style Sheets (CSS) file, and a script file (JS, Java Script).
  • HTML HyperText Markup Language
  • CSS Cascading Style Sheets
  • JS Java Script
  • At least one pop-up assembly element is then pushed toward the pop-up container assembly to form a pop-up window;
  • the pop-up container assembly includes at least one pop-up assembly element;
  • the pop-up assembly element can include: a functional component element, a picture component Elements, text component elements, hot link component elements, and CSS render component elements.
  • the CSS rendering component element can also be used to set the pop-up component to highlight the center of the pop-up component, and can be dragged and hidden.
  • a pop-up interaction rule is established in advance, for example, the exposed hook of the pop-up container assembly is set.
  • the unique tag string M is set; and each popup component element can be set as a button that interacts with the corresponding popup.
  • the function document.querySelector(M) can be obtained to obtain the current popup component element currently being clicked.
  • the exposed hook may be a unique ID (Identity) value reserved by the pop-up container assembly.
  • S103 Determine whether the to-be-linked address of the current click event can be successfully matched with the exposed hook of the pop-up container component, and if the to-be-linked address can be successfully matched with the exposed hook, trigger a corresponding pop-up display.
  • the to-be-linked address of the current click event After the current click event of the current popup component is obtained, determining whether the to-be-linked address of the current click event can be successfully matched with the exposed hook of the pop-up container component, if the to-be-linked address can be associated with the exposed hook If the match is successful, it indicates that the to-be-linked address is not a pure link address, and the corresponding pop-up window is triggered.
  • the blocking function preventDefault is called to cancel the default event operation of the current popup component element.
  • the current popup component element is a picture component element or a text component element
  • the current popup window The default event action of the component element is that the current popup component element is clicked without any display content and display effect. If the current popup component is a hot link component element and a hot link exists, the default event action is to jump to the page.
  • the method further includes: performing a default event operation of the current popup component element.
  • the listen function addEventListen determining whether the click object of the click event is the popup component element, and if the click object is not the popup component element, Hide the pop-up window.
  • the closing interaction hook may be a preset jump link close_pop.
  • the embodiment further provides a device for realizing a pop-up interaction event, as shown in FIG. 2 .
  • the device includes: a construction unit 21, an acquisition unit 22, and a determination unit 23;
  • the building unit 21 is configured to construct a pop-up container component in the website building platform, and when constructing the pop-up window container component in the website building platform, a module needs to be created, and then the module is integrated into the core library through the website building platform.
  • Pop-up window container assembly The module includes: an HTML file, a CSS file, and a JS file. At least one popup assembly element is then pushed to the pop-up container assembly to form a pop-up window; the pop-up component element can include: a functional component element, a picture component element, a text component element, a hot link component element, and a CSS rendering component element Wait.
  • the building unit 21 can also use the CSS rendering component element to set the pop-up component to highlight the center of the pop-up component, and can be dragged and hidden arbitrarily.
  • the acquiring unit 22 acquires the current popup component element currently clicked based on the preset popup interaction rule; before acquiring the current click event of the current popup component element, the building unit 21 also establishes a popup interaction rule.
  • the exposed hook of the pop-up container assembly is set to a unique mark string M; and each pop-up component element can be set as a button that interacts with the corresponding pop-up window.
  • the obtaining unit 22 is configured to acquire the current popup component element currently being clicked by the function document.querySelector(M) based on the button.
  • the exposed hook may be a unique ID (Identity) value reserved by the pop-up container assembly.
  • the building unit 21 After obtaining the current popup component element, the building unit 21 also needs to construct a popup window listener; in the case that the current button is triggered to click, the obtaining unit 22 is further configured to utilize the popup window listener, The current click event corresponding to the current popup component element is obtained by the listener function addEventListen.
  • the determining unit 23 is configured to determine whether the to-be-linked address of the current click event can be successfully matched with the exposed hook of the pop-up container component, if the to-be-linked The address can be successfully matched with the exposed hook, indicating that the to-be-linked address is not a pure link address, and the pop-up window is triggered to be displayed.
  • the determining unit 23 After the corresponding popup window is displayed, the determining unit 23 also needs to call the blocking function preventDefault to cancel the default event operation of the current popup component element.
  • the blocking function preventDefault to cancel the default event operation of the current popup component element.
  • the default event operation of the current popup component element is that after the current popup component element is clicked, there is no display content and display effect. If the current popup component is a hot link component element and a hot link exists, the default event action is to jump to the page.
  • the determining unit 23 is further configured to: perform a default event operation of the current popup component.
  • the acquiring unit 22 also needs to monitor the click event by using the listen function addEventListen; the determining unit 23 further needs to determine whether the click object of the click event is the popup component element. If the click object is not the pop-up component element, the pop-up window is hidden. Determining whether the click object of the click event is the close interaction component element, and if the click object is the close interaction component element, hiding the popup window.
  • the determining unit 23 also determines whether the jump link address of the click event can be matched with the preset closed interaction hook of the pop-up container component, if the jump link address can be closed with the The interactive hooks are matched to hide the popup.
  • the closing interaction hook may be a preset jump link close_pop.
  • the embodiment further provides a computer device for realizing a pop-up interaction event.
  • the computer device includes: a radio frequency (RF) circuit 310, a memory 320, an input unit 330, a display unit 340, and audio.
  • RF radio frequency
  • FIG. 3 does not constitute a limitation to a computer device, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • the RF circuit 310 can be used for receiving and transmitting signals, and in particular, after receiving the downlink information of the base station, it is processed by the processor 350.
  • RF circuit 310 includes, but is not limited to, at least one amplifier, transceiver, coupler, Low Noise Amplifier (LNA), duplexer, and the like.
  • LNA Low Noise Amplifier
  • the memory 320 can be used to store software programs and modules, and the processor 350 executes various functional applications and data processing of the computer devices by running software programs and modules stored in the memory 320.
  • the memory 320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function, and the like; the storage data area may store data created according to usage of the computer device, and the like.
  • memory 320 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 330 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the computer device.
  • the input unit 330 can include a keyboard 331 and other input devices 332.
  • the keyboard 331 can collect input operations of the user thereon and drive the corresponding connecting device according to a preset program.
  • the keyboard 331 collects the output information and sends it to the processor 350.
  • the input unit 330 may also include other input devices 332.
  • other input devices 332 may include, but are not limited to, one or more of a touch panel, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 340 can be used to display information input by the user or information provided to the user as well as various menus of the computer device.
  • the display unit 340 can include a display panel 341.
  • the display panel 341 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the keyboard 331 can cover the display panel 341. When the keyboard 331 detects a touch operation on or near it, the keyboard 331 transmits to the processor 350 to determine the type of the touch event, and then the processor 350 displays the panel according to the type of the input event. A corresponding visual output is provided on the 341.
  • the keyboard 331 and the display panel 341 are implemented as two separate components in FIG. 3 to implement the input and input functions of the computer device, in some embodiments, the keyboard 331 can be integrated with the display panel 341 to implement the computer device. Input and output functions.
  • An audio circuit 350, a speaker 351, and a microphone 352 can provide an audio interface between the user and the computer device.
  • the audio circuit 350 can transmit the converted electrical data of the received audio data to the speaker 351, and convert it into a sound signal output by the speaker 351;
  • WiFi is a short-range wireless transmission technology.
  • the computer device can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 360. It provides users with wireless broadband Internet access.
  • FIG. 3 shows the WiFi module 360, it can be understood that it does not belong to the essential configuration of the computer device, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 370 is a control center for computer devices that connects various portions of the entire computer device using various interfaces and lines, by running or executing software programs and/or modules stored in memory 320, and recalling data stored in memory 320. , performing various functions and processing data of the computer device, thereby performing overall monitoring of the computer device.
  • the processor 370 may include one or more processing units; preferably, the processor 370 may integrate an application processor, wherein the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the computer device also includes a power source 380 (such as a power adapter) that powers the various components.
  • a power source 380 such as a power adapter
  • the power source can be logically coupled to the processor 370 via a power management system.
  • the method, device and computer device provided by the invention for realizing the pop-up interaction event can have at least the following advantages:
  • the invention provides a method, device and computer device for realizing a pop-up interaction event, the method comprising: constructing a pop-up container assembly in the construction platform, and pushing at least one pop-up window into the pop-up container assembly a component element, forming a popup window; acquiring a current popup component element currently clicked and a current click event corresponding to the current popup component element based on a preset popup interaction rule; determining a to-be-linked address of the current click event Whether the matching hook of the pop-up container assembly can be successfully matched, if the to-be-linked address can be successfully matched with the exposed hook, the pop-up window display is triggered; thus, a pop-up container assembly is pre-built, and Various types of pop-up container component elements are pushed into the pop-up window assembly, when a pop-up container component element interacts with the pop-up window, when acquired After the current click event of the front pop-up component element, if the click event to-be-linked address can be successfully
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processing (DSP) may be used in practice to implement some or all of the functionality of some or all of the gateways, proxy servers, systems in accordance with embodiments of the present invention.
  • DSP digital signal processing
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the present invention may be stored on a computer readable storage medium or may be in the form of one or more signals.
  • Such signals may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form; the program, when executed by the processor, implements the steps of constructing a pop-up container assembly in the station platform, Pushing at least one popup component in the popup container assembly to form a popup window; and acquiring a current popup component element currently clicked and a current click event corresponding to the current popup component element based on a preset popup interaction rule Determining whether the to-be-linked address of the current click event can be successfully matched with the exposed hook of the pop-up container component, and if the to-be-linked address can be successfully matched with the exposed hook, triggering the pop-up display.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本发明提供了一种实现弹窗交互事件的方法、装置及计算机设备,应用于建站平台中,方法包括:在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件推送至少一个弹窗组件元素,形成弹窗;基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示;如此,这样就无需开发人员通过重新编码进行嵌入来实现弹窗交互,进而减少了网页开发的时间,提高了网页的构建速度。

Description

一种实现弹窗交互事件的方法、装置及计算机设备 技术领域
本发明属于建站平台开发的技术领域,尤其涉及一种实现弹窗交互事件的方法、装置及计算机设备。
背景技术
随着互联网的发展,门户网站、电子商务网站、直播网站等各类网站层出不穷,各类公司业务的迅速发展,随之产生了大量活动网页的需求用于吸引用户,因此产生了自助式的建站平台。
在自助式建站平台中,组件开发人员向平台提供工具(模板或组件)。活动网页开发人员可根据提供的工具(模板或组件),快速的开发出质量较高的活动网页。但是当活动网页遇到带有弹窗交互的设计时,因为涉及到事件的交互,传统的建站平台没有此功能,只能让开发人员重新编写代码,通过代码的方式来嵌入实现事件交互。
但是,若开发人员重新编写代码的话则会导致网页开发的时间成本增加,进而降低了网页的构建速度。
发明内容
针对现有技术存在的问题,本发明实施例提供了一种实现弹窗交互事件的方法、装置及计算机设备,用于解决现有技术中在自助式建站平台实现弹窗事件的交互功能时,只能通过重新编写代码的方式实现,导致网页开发的时间成本增加,进而降低了网页构建速度的技术问题。
本发明提供一种实现弹窗交互事件的方法,应用于建站平台中,所述方法包括:
在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件推送至少一个弹窗组件元素,形成弹窗;
基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;
判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示。
上述方案中,所述基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素,包括:
将所述暴露钩子设置为唯一的标识字符串M;
将各弹窗组件元素设置为与对应弹窗进行交互的各按钮;
在当前按钮被触发点击的情况下,利用获取函数document.querySelector(M)获取当前被点击的所述当前弹窗组件元素。
上述方案中,所述基于预设的弹窗交互规则,获取所述当前弹窗组件元素对应的当前点击事件,包括:
构建弹窗监听器;
在所述当前按钮被触发点击的情况下,利用所述弹窗监听器,通过监听函数addEventListen获取所述当前弹窗组件元素对应的当前点击事件。
上述方案中,所述若所述待链接地址与所述暴露钩子不匹配,还包括:执行所述当前弹窗组件元素的默认事件操作。
上述方案中,若所述待链接地址与所述暴露钩子匹配,则触发所述弹窗显示后,包括:
调用阻止函数preventDefault,取消所述当前弹窗组件元素的默认事件操作。
上述方案中,若所述待链接地址与所述暴露钩子匹配,则触发所述弹窗显示后,还包括:
利用监听函数addEventListen监听点击事件;
判断所述点击事件的点击对象是否为所述弹窗组件元素,若所述点击对象不是所述弹窗组件元素,则隐藏所述弹窗。
上述方案中,所述利用监听函数addEventListen监听点击事件后,还包括:
判断所述点击事件的跳转链接地址是否能与预设的所述弹窗容器组件的关闭交互钩子匹配,若所述跳转链接地址能与所述关闭交互钩子匹配,则隐藏所述弹窗。
本发明还提供一种实现弹窗交互事件的装置,应用于建站平台中,所述装置包括:
构建单元,用于在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件中推送至少一个弹窗组件元素,形成弹窗;
获取单元,用于基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;
判断单元,用于判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示。
本发明还提供一种计算机可读存储介质,其上存储有计算机程序,该程序 被处理器执行时实现以下步骤:
在建站平台中构建弹窗容器组件,向所述弹窗容器组件中推送至少一个弹窗组件元素,形成弹窗;
基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;
判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示。
本发明还提供一种实现弹窗交互事件的计算机设备,包括:
至少一个处理器;以及
与所述处理器通信连接的至少一个存储器,其中,
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如上述任一所述的方法。
本发明提供了一种实现弹窗交互事件的方法、装置及计算机设备,应用于建站平台中,所述方法包括:在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件中推送至少一个弹窗组件元素,形成弹窗;基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示;如此,预先构建一个弹窗容器组件,可以将各种类型的弹窗容器组件元素推送至所述弹窗组件中,当某个弹窗容器组件元素与弹窗进行交互时,当获取到当前弹窗组件元素的当前点击事件后,若点击事件待链接地址能与所述暴露钩子匹配成功,则触发对应的弹窗显示;这样就无需开发人员通过重新编码进行嵌入来实现弹窗交互,进而减少了网页开发的时间,提高了网页的构建速度。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1为本发明实施例一提供的实现弹窗交互事件的方法流程示意图;
图2为本发明实施例二提供的实现弹窗交互事件的装置结构示意图;
图3为本发明实施例三提供的实现弹窗交互事件的计算机设备的整体结构示意图。
具体实施方式
为了解决现有技术中在自助式建站平台实现弹窗事件的交互功能时,只能通过重新编写代码的方式实现,导致网页开发的时间成本增加,进而降低了网页构建速度的技术问题,本发明提供了一种实现弹窗交互事件的方法、装置及计算机设备,应用于建站平台中,所述方法包括:在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件推送至少一个弹窗组件元素,形成弹窗;基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发对应的弹窗显示。
下面通过附图及具体实施例对本发明的技术方案做进一步的详细说明。
实施例一
本实施例提供一种实现弹窗交互事件的方法,应用于建站平台中,如图1所示,所述方法包括:
S101,在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件推送至少一个弹窗组件元素,形成弹窗;
本步骤中,在所述建站平台中构建弹窗容器组件时,需要创建一个模块,然后将通过建站平台的核心库,将模块整合成弹窗容器组件。其中,所述模块包括:超文本标记语言(HTML,HyperText Markup Language)文件,层叠样式表(CSS,Cascading Style Sheets)文件及脚本文件(JS,Java Script)。
然后向所述弹窗容器组件推送至少一个弹窗组件元素,形成弹窗;所述弹窗容器组件中包括至少一个弹窗组件元素;所述弹窗组件元素可以包括:功能组件元素,图片组件元素,文字组件元素、热链接组件元素及CSS渲染组件元素等。
构建好弹窗容器组件后,为了方便开发人员识别,还可以利用CSS渲染组件元素设置弹窗组件高亮边框居中显示,并且可以任意拖动,隐藏。
S102,基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;
本步骤中,预先建立弹窗交互规则,比如:将弹窗容器组件的暴露钩子设 置为唯一的标记字符串M;并可以将各弹窗组件元素设置为与对应弹窗进行交互的各按钮。
在当前按钮被触发点击的情况下,基于所述按钮,可以获取函数document.querySelector(M)获取当前被点击的所述当前弹窗组件元素。其中,所述暴露钩子可以是所述弹窗容器组件的预留的一个唯一的标识(ID,Identity)值。
获取到当前弹窗组件元素后,构建弹窗监听器;在所述当前按钮被触发点击的情况下,利用所述弹窗监听器,通过监听函数addEventListen获取所述当前弹窗组件元素的当前点击事件。
S103,判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发对应的弹窗显示。
获取到当前弹窗组件元素的当前点击事件后,判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,说明待链接地址并不是一个纯链接地址,则触发对应的弹窗显示。
对应的弹窗显示后,调用阻止函数preventDefault,取消所述当前弹窗组件元素的默认事件操作,一般来说,若当前弹窗组件元素为图片组件元素或者文字组件元素时,所述当前弹窗组件元素的默认事件操作为当前弹窗组件元素被点击后,没有任何显示内容及显示效果。若当前弹窗组件元素为热链接组件元素时,且热链接存在的情况下,默认事件操作为跳转页面。
进一步地,所述若所述待链接地址与所述暴露钩子不匹配,还包括:执行所述当前弹窗组件元素的默认事件操作。
另外,对应的弹窗显示后,还需要利用监听函数addEventListen监听点击事件;判断所述点击事件的点击对象是否为所述弹窗组件元素,若所述点击对象不是所述弹窗组件元素,则隐藏所述弹窗。
判断所述点击事件的点击对象是否为所述关闭交互组件元素,若所述点击对象是所述关闭交互组件元素,则隐藏所述弹窗。
并且,还要同时判断所述点击事件的跳转链接地址是否能与预设的所述弹窗容器组件的关闭交互钩子匹配,若所述跳转链接地址能与所述关闭交互钩子匹配,则隐藏所述弹窗。其中,所述关闭交互钩子可以为预设的跳转链接close_pop。
实施例二
相应于实施例一,本实施例还提供一种实现弹窗交互事件的装置,如图2 所示,所述装置包括:构建单元21、获取单元22及判断单元23;其中,
所述构建单元21用于在所述建站平台中构建弹窗容器组件,在所述建站平台中构建弹窗容器组件时,需要创建一个模块,然后将通过建站平台的核心库,将模块整合成弹窗容器组件。其中,所述模块包括:HTML文件,CSS文件及JS文件。然后向所述弹窗容器组件推送至少一个弹窗组件元素,形成弹窗;所述弹窗组件元素可以包括:功能组件元素,图片组件元素,文字组件元素、热链接组件元素及CSS渲染组件元素等。
构建好弹窗容器组件后,为了方便开发人员识别,所述构建单元21还可以利用CSS渲染组件元素设置弹窗组件高亮边框居中显示,并且可以任意拖动,隐藏。
在获取单元22基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素;获取所述当前弹窗组件元素的当前点击事件之前,所述构建单元21还要建立弹窗交互规则,比如:将弹窗容器组件的暴露钩子设置为唯一的标记字符串M;并可以将各弹窗组件元素设置为与对应弹窗进行交互的各按钮。
在当前按钮被触发点击的情况下,所述获取单元22用于基于所述按钮,可以获取函数document.querySelector(M)获取当前被点击的所述当前弹窗组件元素。其中,所述暴露钩子可以是所述弹窗容器组件的预留的一个唯一的标识(ID,Identity)值。
获取到当前弹窗组件元素后,所述构建单元21还需构建弹窗监听器;在所述当前按钮被触发点击的情况下,所述获取单元22还用于利用所述弹窗监听器,通过监听函数addEventListen获取所述当前弹窗组件元素对应的当前点击事件。
获取到当前弹窗组件元素的当前点击事件后,所述判断单元23用于判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,说明待链接地址并不是一个纯链接地址,则触发所述弹窗显示。
对应的弹窗显示后,所述判断单元23还需调用阻止函数preventDefault,取消所述当前弹窗组件元素的默认事件操作,一般来说,若当前弹窗组件元素为图片组件元素或者文字组件元素时,所述当前弹窗组件元素的默认事件操作为当前弹窗组件元素被点击后,没有任何显示内容及显示效果。若当前弹窗组件元素为热链接组件元素时,且热链接存在的情况下,默认事件操作为跳转页面。
进一步地,所述若所述待链接地址与所述暴露钩子不匹配,所述判断单元23还用于:执行所述当前弹窗组件元素的默认事件操作。
另外,对应的弹窗显示后,所述获取单元22还需要利用监听函数addEventListen监听点击事件;所述判断单元23还需判断所述点击事件的点击对象是否为所述弹窗组件元素,若所述点击对象不是所述弹窗组件元素,则隐藏所述弹窗。判断所述点击事件的点击对象是否为所述关闭交互组件元素,若所述点击对象是所述关闭交互组件元素,也则隐藏所述弹窗。
并且,所述判断单元23还要同时判断所述点击事件的跳转链接地址是否能与预设的所述弹窗容器组件的关闭交互钩子匹配,若所述跳转链接地址能与所述关闭交互钩子匹配,则隐藏所述弹窗。其中,所述关闭交互钩子可以为预设的跳转链接close_pop。
实施例三
本实施例还提供一种实现弹窗交互事件的计算机设备,如图3所示,所述计算机设备包括:射频(Radio Frequency,RF)电路310、存储器320、输入单元330、显示单元340、音频电路350、WiFi模块360、处理器370、以及电源380等部件。本领域技术人员可以理解,图3中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图3对计算机设备的各个构成部件进行具体的介绍:
RF电路310可用于信号的接收和发送,特别地,将基站的下行信息接收后,给处理器350处理。通常,RF电路310包括但不限于至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。
存储器320可用于存储软件程序以及模块,处理器350通过运行存储在存储器320的软件程序以及模块,从而执行计算机设备的各种功能应用以及数据处理。存储器320可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元330可用于接收输入的数字或字符信息,以及产生与计算机设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元330可包括键盘331以及其他输入设备332。键盘331,可收集用户在其上的输入操作,并根据预先设定的程式驱动相应的连接装置。键盘331采集到输出信息后再送给处理器350。除了键盘331,输入单元330还可以包括其他输入设备332。具体地,其他输入设备332可以包括但不限于触控面板、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元340可用于显示由用户输入的信息或提供给用户的信息以及计算机设备的各种菜单。显示单元340可包括显示面板341,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板341。进一步的,键盘331可覆盖显示面板341,当键盘331检测到在其上或附近的触摸操作后,传送给处理器350以确定触摸事件的类型,随后处理器350根据输入事件的类型在显示面板341上提供相应的视觉输出。虽然在图3中键盘331与显示面板341是作为两个独立的部件来实现计算机设备的输入和输入功能,但是在某些实施例中,可以将键盘331与显示面板341集成而实现计算机设备的输入和输出功能。
音频电路350、扬声器351,传声器352可提供用户与计算机设备之间的音频接口。音频电路350可将接收到的音频数据转换后的电信号,传输到扬声器351,由扬声器351转换为声音信号输出;
WiFi属于短距离无线传输技术,计算机设备通过WiFi模块360可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了WiFi模块360,但是可以理解的是,其并不属于计算机设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器370是计算机设备的控制中心,利用各种接口和线路连接整个计算机设备的各个部分,通过运行或执行存储在存储器320内的软件程序和/或模块,以及调用存储在存储器320内的数据,执行计算机设备的各种功能和处理数据,从而对计算机设备进行整体监控。可选的,处理器370可包括一个或多个处理单元;优选的,处理器370可集成应用处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等。
计算机设备还包括给各个部件供电的电源380(比如电源适配器),优选的,电源可以通过电源管理系统与处理器370逻辑相连。
本发明提供的实现弹窗交互事件的方法方法、装置及计算机设备能带来的有益效果至少是:
本发明提供的一种实现弹窗交互事件的方法方法、装置及计算机设备,所述方法包括:在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件中推送至少一个弹窗组件元素,形成弹窗;基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示;如此,预先构建一个弹窗容器组件,可以将各种类型的弹窗容器组件元素推送至所述弹窗组件中,当某个弹窗容器组件元素与弹窗进行交互时,当获取到当 前弹窗组件元素的当前点击事件后,若点击事件待链接地址能与所述暴露钩子匹配成功,则触发对应的弹窗显示;这样就无需开发人员通过重新编码进行嵌入来实现弹窗交互,进而减少了网页开发的时间,提高了网页的构建速度。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解, 可以在实践中使用微处理器或者数字信号处理器(DSP,Digital Signal Processing)来实现根据本发明实施例的网关、代理服务器、系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读存储介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供;该程序被处理器执行时实现以下步骤:在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件中推送至少一个弹窗组件元素,形成弹窗;基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (10)

  1. 一种实现弹窗交互事件的方法,其特征在于,应用于建站平台中,所述方法包括:
    在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件推送至少一个弹窗组件元素,形成弹窗;
    基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;
    判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示。
  2. 如权利要求1所述的方法,其特征在于,所述基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素,包括:
    将所述暴露钩子设置为唯一的标识字符串M;
    将各弹窗组件元素设置为与对应弹窗进行交互的各按钮;
    在当前按钮被触发点击的情况下,利用获取函数document.querySelector(M)获取当前被点击的所述当前弹窗组件元素。
  3. 如权利要求2所述的方法,其特征在于,所述基于预设的弹窗交互规则,获取所述当前弹窗组件元素对应的当前点击事件,包括:
    构建弹窗监听器;
    在所述当前按钮被触发点击的情况下,利用所述弹窗监听器,通过监听函数addEventListen获取所述当前弹窗组件元素对应的当前点击事件。
  4. 如权利要求1所述的方法,其特征在于,所述若所述待链接地址与所述暴露钩子不匹配,还包括:执行所述当前弹窗组件元素的默认事件操作。
  5. 如权利要求1所述的方法,其特征在于,若所述待链接地址与所述暴露钩子匹配,则触发所述弹窗显示后,包括:
    调用阻止函数preventDefault,取消所述当前弹窗组件元素的默认事件操作。
  6. 如权利要求1所述的方法,其特征在于,若所述待链接地址与所述暴露钩子匹配,则触发所述弹窗显示后,还包括:
    利用监听函数addEventListen监听点击事件;
    判断所述点击事件的点击对象是否为所述弹窗组件元素,若所述点击对象不是所述弹窗组件元素,则隐藏所述弹窗。
  7. 如权利要求6所述的方法,其特征在于,所述利用监听函数addEventListen监听点击事件后,还包括:
    判断所述点击事件的跳转链接地址是否能与预设的所述弹窗容器组件的关闭交互钩子匹配,若所述跳转链接地址能与所述关闭交互钩子匹配,则隐藏所述弹窗。
  8. 一种实现弹窗交互事件的装置,其特征在于,应用于建站平台中,所述装置包括:
    构建单元,用于在所述建站平台中构建弹窗容器组件,向所述弹窗容器组件中推送至少一个弹窗组件元素,形成弹窗;
    获取单元,用于基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;
    判断单元,用于判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示。
  9. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现以下步骤:
    在建站平台中构建弹窗容器组件,向所述弹窗容器组件中推送至少一个弹窗组件元素,形成弹窗;
    基于预设的弹窗交互规则,获取当前被点击的当前弹窗组件元素及所述当前弹窗组件元素对应的当前点击事件;
    判断所述当前点击事件的待链接地址是否能与所述弹窗容器组件的暴露钩子匹配成功,若所述待链接地址能与所述暴露钩子匹配成功,则触发所述弹窗显示。
  10. 一种实现弹窗交互事件的计算机设备,其特征在于,包括:
    至少一个处理器;以及
    与所述处理器通信连接的至少一个存储器,其中,
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至7任一所述的方法。
PCT/CN2017/107064 2017-06-28 2017-10-20 一种实现弹窗交互事件的方法、装置及计算机设备 WO2019000723A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710506291.5A CN107391115B (zh) 2017-06-28 2017-06-28 一种实现弹窗交互事件的方法、装置及计算机设备
CN201710506291.5 2017-06-28

Publications (1)

Publication Number Publication Date
WO2019000723A1 true WO2019000723A1 (zh) 2019-01-03

Family

ID=60333709

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107064 WO2019000723A1 (zh) 2017-06-28 2017-10-20 一种实现弹窗交互事件的方法、装置及计算机设备

Country Status (2)

Country Link
CN (1) CN107391115B (zh)
WO (1) WO2019000723A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625303A (zh) * 2019-02-27 2020-09-04 阿里巴巴集团控股有限公司 事件处理方法、装置、设备及可读存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908793A (zh) * 2017-12-13 2018-04-13 上海携程商务有限公司 网页弹窗的方法及系统
CN108280014B (zh) * 2018-02-06 2021-03-16 武汉斗鱼网络科技有限公司 一种监听浏览器页面的方法、装置及计算机设备
CN108595178B (zh) * 2018-05-04 2021-10-15 武汉极意网络科技有限公司 一种基于hook的数据采集方法、装置及设备
CN109656536B (zh) * 2018-12-25 2022-08-16 武汉斗鱼网络科技有限公司 一种推送模块组件化的方法及客户端
CN112492381B (zh) * 2019-09-11 2023-05-30 北京字节跳动网络技术有限公司 信息显示方法、装置及电子设备
CN116501422A (zh) * 2022-01-19 2023-07-28 北京字节跳动网络技术有限公司 一种移动端的分屏交互方法、装置、存储介质及设备
CN114238821B (zh) * 2022-02-18 2022-04-29 北京金堤科技有限公司 弹窗处理方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194003A (zh) * 2011-05-26 2011-09-21 重庆猪八戒网络有限公司 一种网页弹窗方法及装置
CN102567532A (zh) * 2011-12-30 2012-07-11 奇智软件(北京)有限公司 一种信息发布方法及装置
CN105718156A (zh) * 2016-01-14 2016-06-29 百度在线网络技术(北京)有限公司 一种业务处理方法及系统

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682014A (zh) * 2011-03-14 2012-09-19 腾讯科技(深圳)有限公司 在浏览器上实现的开放式插件管理平台及插件管理方法
CN102135886A (zh) * 2011-03-24 2011-07-27 汉王科技股份有限公司 一种实现页面内容共享的方法、装置及电子设备
CN102831344B (zh) * 2012-07-27 2015-04-15 北京奇虎科技有限公司 一种进程的处理方法和装置
CN103019703B (zh) * 2012-11-28 2016-06-22 北京奇虎科技有限公司 用于浏览器的工具类窗口加载方法和装置
CN103020178B (zh) * 2012-11-28 2016-05-04 北京奇虎科技有限公司 一种浏览器加载图片工具条的方法和装置
CN102999613B (zh) * 2012-11-28 2016-03-30 北京奇虎科技有限公司 一种在浏览器中加载工具类窗口的方法及其装置
CN103019719B (zh) * 2012-12-14 2016-08-24 北京奇虎科技有限公司 一种弹窗拦截装置和方法
CN103034800B (zh) * 2012-12-14 2017-06-20 北京奇虎科技有限公司 用于拦截弹窗的装置和方法
CN103744670B (zh) * 2013-12-31 2017-10-20 广州华多网络科技有限公司 弹窗展示方法和装置
CN104267947B (zh) * 2014-09-23 2018-06-19 广州猎豹网络科技有限公司 一种编辑弹窗图片的方法及弹窗图片编辑装置
CN105117643B (zh) * 2015-09-23 2018-02-23 北京金山安全软件有限公司 一种处理弹窗的方法及装置
CN106168978B (zh) * 2016-07-25 2020-12-15 腾讯科技(深圳)有限公司 一种网页中弹窗的处理方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194003A (zh) * 2011-05-26 2011-09-21 重庆猪八戒网络有限公司 一种网页弹窗方法及装置
CN102567532A (zh) * 2011-12-30 2012-07-11 奇智软件(北京)有限公司 一种信息发布方法及装置
CN105718156A (zh) * 2016-01-14 2016-06-29 百度在线网络技术(北京)有限公司 一种业务处理方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625303A (zh) * 2019-02-27 2020-09-04 阿里巴巴集团控股有限公司 事件处理方法、装置、设备及可读存储介质
CN111625303B (zh) * 2019-02-27 2023-06-09 阿里巴巴集团控股有限公司 事件处理方法、装置、设备及可读存储介质

Also Published As

Publication number Publication date
CN107391115A (zh) 2017-11-24
CN107391115B (zh) 2018-10-23

Similar Documents

Publication Publication Date Title
WO2019000723A1 (zh) 一种实现弹窗交互事件的方法、装置及计算机设备
US10255255B2 (en) Customization of mobile applications using web-based technology
WO2019153479A1 (zh) 一种监听浏览器页面的方法、装置及计算机设备
US10489395B2 (en) Methods and systems for providing functional extensions with a landing page of a creative
US11538046B2 (en) Page data acquisition method, apparatus, server, electronic device and computer readable medium
KR102076892B1 (ko) 백그라운드 애플리케이션 관리 방법 및 장치
US20140208216A1 (en) Activation of dormant features in native applications
US11204681B2 (en) Program orchestration method and electronic device
US9524089B1 (en) Common web component
CN104133828A (zh) 用于html文档的拖放剪贴板
US20150058713A1 (en) Method and apparatus for sharing media content and method and apparatus for displaying media content
US20160359989A1 (en) Recording And Triggering Web And Native Mobile Application Events With Mapped Data Fields
US9805181B1 (en) Messaging channel for web pages and web applications
AU2014302400A1 (en) Execution and display of events in web browsers
US20130212496A1 (en) Integrated context-driven information search and interaction
CN110168496A (zh) 用于应用呈现的方法和系统
JP6877343B2 (ja) 非構造化メッセージの処理
WO2019134284A1 (zh) 一种用于识别用户的方法、装置及计算机设备
CN111125595B (zh) 多页面控制方法、装置、电子设备及存储介质
WO2019024275A1 (zh) 一种加载页面的方法、装置及计算机设备
CN104714996A (zh) 动态更新实况呈现中的内容
CN109145182B (zh) 数据采集方法、装置、计算机设备及系统
CN110324692B (zh) 用于实现小窗播放视频的直播间处理方法及装置
US20180341499A1 (en) Universal platform application support for plugin modules
WO2019061619A1 (zh) 一种避免线程阻塞的方法、装置及计算机设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17916388

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17916388

Country of ref document: EP

Kind code of ref document: A1