[] How to write a floating share button similar to jiathis?
Source: Internet
Author: User
[Help] how to write a floating share button similar to jiathis? I used PHP to write a text information filtering system process: get the URL of the page ---- & gt; get the source code of the page ---- & gt; analyze the illegal word of the source code ---- & gt; get the analysis result and I want to give it to the CMS website, embed a floating share button similar to jiathis. when you browse [help] how to write a floating share button similar to jiathis
How to write a floating share button similar to jiathis?
I used PHP to write a text information filtering system.
System process: get the URL of the page ----> get the source code of the page ----> analyze the illegal words of the source code ----> get the analysis result
I want to embed a floating share button similar to jiathis into the CMS website. when you browse an article, click this floating button to jump to the result page for analyzing illegal words on this page.
Problem:
1. how to write this button? It seems to be JS. I won't,
2. how to use this button to get the URL of the current page
3. how to send this URL to my filtering system page, such as htp: // localhost/guolv. php? Url = ******
Guolv. php uses $ _ GET ['URL'] to obtain the url transmitted from the article page.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service