Method and device for loading sharing module on web page

A web page loading and loading device technology, applied in the Internet field, can solve the problem of incompatibility between the sharing module and the web page

CN104461634BActive Publication Date: 2017-12-19BEIJING GRIDSUM TECH CO LTD
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2017-12-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and a device for loading a sharing module on a web page. Wherein, the loading method of the sharing module on the web page includes: detecting whether there is a configuration tag in the web page, the configuration tag is used to configure a sharing module adapted to the web page for the web page, and the sharing module adapted to the web page is used to share the web page to one or multiple pre-set social media sharing platforms; and if it is detected that there is a configuration tag in the web page, load a sharing module suitable for the web page according to the configuration tag. The invention solves the problem in the related art that the sharing module cannot be adapted to the webpage because only a unified template can be used to generate the webpage.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of the Internet, in particular to a method and device for loading a sharing module on a web page. Background technique

[0002] At present, all sharing websites (that is, websites providing sharing functions) embed a sharing module (such as a sharing plug-in) by adding a piece of front-end code on the user website, and the user website uses a template to generate each content Therefore, in related technologies, in order to load the sharing module for each webpage, generally only the front-end code of the sharing module is added to the template.

[0003] In this way, due to the high degree of uniformity of the webpages generated according to the template, the sharing functions of all webpages are consistent, so the special needs of individual webpages cannot be met. Web pages have different requirements for sharing modules, which will inevitably lead to the incompatibility between the sharing modules on the page and t...

Examples

Embodiment Construction

[0023] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0025] It should be noted that the terms "first" and "second" in the...