[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 an article, clicking this floating button will jump to the illegal word analysis page [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.
------ Solution --------------------
Http://share.7dit.com
At that time, I wrote a system similar to jiathis. The js is not encrypted. Hope to help you.