摘要:
A method, device, and electronic terminal for video recording are provided. The method includes: receiving streaming data of a video, and decoding and broadcasting of the video on a webpage of a browser through a video-playing plugin; based on a triggering operation for starting video recording detected on the webpage by the browser, acquiring first image data and first audio data outputted by the video-playing plugin through a data interaction interface between the video-playing plugin and the browser; encoding the first image data and the first audio data to generate second image data and second audio data; synthesizing the second image data and the second audio data to generate and store streaming data of a recorded video.
摘要:
The present invention provides a method, an apparatus and a user terminal for displaying and controlling an input box. The method for displaying and controlling an input box includes: hiding an input box of an operation interface in response to a user's touch operation; displaying or collapsing an input area in the operation interface; and re-displaying the input box according to the input area displayed or collapsed. The method, the apparatus and the user terminal for displaying and controlling an input box provided in the present invention, in the case when the input area is popped up or collapsed, allows the input box to interact properly with the input area, so as to avoid the operation interface, during the course of displaying or collapsing the input area, from being compressed or shifted in response due to the influence from the operation interface, thereby improving the user experience.
摘要:
A text-to-speech method includes outputting an instruction according to voice information entered by a user; obtaining text information according to the instruction; converting the text information to audio; and playing the audio. According to the embodiments of the present invention, news or other text content in a browser can be played by voice, which liberates hands and eyes of a user. The user can use the browser in some scenarios where the user cannot easily use the browser, such as driving a car, thereby improving user experience.
摘要:
The present application discloses an article quality scoring method and device, a client, a server, and a programmable device. The method includes: obtaining browsing behavior information of a user when the user browses a target article; obtaining a browsing behavior score of the user for the target article according to the browsing behavior information and a corresponding browsing behavior coefficient; and obtaining an article quality score of the target article according to obtained browsing behavior scores of multiple users for the target article.
摘要:
A method, a device and a client terminal apparatus for displaying a page including a main document and at least one external resource are provided. The method for displaying a page including a main document and at least one external resource includes comparing a first position of the at least one external resource with a second position of a current screen-displayed content, after loading of the at least one external resource is completed and adjusting a display position of the current screen-displayed content, in response to a confirmation that the first position of the at least one external resource is before the second position of the current screen-displayed content.
摘要:
An advertisement filtering method and device. The method comprises: access a web page by using a browser, acquire a selector of an advertisement element according to a domain name of the web page, and add a rule statement for hiding the advertisement element after the selector to generate a CSS style of a specific category (S10); inject the CSS style of the specific category into the browser (S11); set a cascading priority of the CSS style of the specific category to a highest cascading priority (S12); and the browser performs cascading on the CSS styles according to an order of the cascading priority of the CSS style to enable the CSS style of the specific category to take effect (S13). In this way, in a case in which an author uses a counter advertisement filtering method, an advertisement from the author can still be effectively filtered.
摘要:
Disclosed are a web page reformatting method and apparatus, a computing device, and a non-transitory machine readable storage medium, which, by acquiring a predefined action performed by a user on a target element in a web page and a corresponding action parameter and computing an updated style of the target element in the web page according to the action parameter, achieve the objective of reformatting the target element in the web page. The technical solutions of the present invention allow users to adjust the format of disorderly web page contents and can adapt to reading styles of different users, thereby providing good flexibility and greatly improving users' reading experience.
摘要:
In accordance with various embodiments of the disclosed subject matter, a method and an apparatus for checking and updating data on a client terminal are provided. In some embodiments, the method comprises: obtaining a presentation time interval between two adjacent presenting actions of target data on the client terminal, and obtaining an update time interval between two adjacent updating actions of the target data on a server; calculating a weighted mean value of the target data based on the presentation time interval and the update time interval, as well as a preset presentation weight and a preset update weight; and determining an update check period of the client terminal for periodically performing an update operation to the target data based on the weighted mean value.
摘要:
In accordance with various embodiments of the disclosed subject matter, a webpage resource acquisition method, and an apparatus thereof are provided. In some embodiments, the method comprises: obtaining pre-read webpage resources from a web server through a communication network according to a pre-read algorithm; storing raw data of the pre-read webpage resources in a pre-read cache; and in response to receiving a loading instruction to load a target webpage resource, obtaining the raw data of one pre-read webpage resource that corresponds to the target webpage resource from the pre-read cache based on the loading instruction without going through the communication network.
摘要:
Methods, devices, and mobile terminals for webpage processing in a night mode are provided. A method may comprise the browser injecting the CSS style of night mode and the corresponding JavaScript into the main file of said webpage via the interface of network request processing as provided by the terminal operating system when the browser is loading a webpage, and the browser parsing said main file, executing said JavaScript and applying said CSS style in a night mode to the webpage elements of said webpage for display. This can effect night mode and improve a user's browsing experience while maintaining the original webpage layout.