Home > Back-end >  Delphi access Google browser notifications
Delphi access Google browser notifications

Time:09-18

Google browser login WeChat public Numbers or personal WeChat ID web version
Due to the new information after the browser's remind voice is too small, result in missing information or see

Now want to write a program to remind

With Spy + + can achieve the window class is Chrome_WidgetWin_2

Online search for a variety of methods for window and class and handle all not line, get less than

Excuse me, how to use Delphi to get this notice to remind

As shown in figure:

CodePudding user response:

Welcome to master to answer

CodePudding user response:

There is a thing called

Tampermonkey

There is a language called JS

Ha, ha, ha

CodePudding user response:

refer to the second floor CDSoftwareWj response: that something called

Tampermonkey

There is a language called JS

Ha, ha, ha


Then you help me to write a new message for web WeChat script
Web WeChat voice https://res.wx.qq.com/zh_CN/htmledition/swf/msg17ced3.mp3
I want to custom the voice, you write, I give points, and thank you

CodePudding user response:

Told you all the tools, the method example online can also find http://blog.csdn.net/earthcto/article/details/42151643
You call me write you gave me?????? What is it? When the meal?

CodePudding user response:

reference 4 floor CDSoftwareWj response:
tools to tell you, example method can also find online http://blog.csdn.net/earthcto/article/details/42151643
You call me write you gave me?????? What is it? When the meal?

To study the

CodePudding user response:

reference 4 floor CDSoftwareWj response:
tools to tell you, example method can also find online http://blog.csdn.net/earthcto/article/details/42151643
You call me write you gave me?????? What is it? When the meal?


Well, this is I write
//==UserScript==
//@ name WeChat remind
//@ namespace http://tampermonkey.net/
//@ version 0.1
//@ the description the try to take over the world!
//@ the author You
*////@ match wx.qq.com/*
//@ grant none
//==/UserScript==
Jshint - W097/* */
'use strict;

Var tempStr="mp3";

If (tempStr indexOf (" Text ") & gt; 0)
{


Var audio=document. The createElement method (" audio ");
Audio. SRC="http://192.168.0.9:8012/update/nyxdxx.wav";
audio.play();

}

But no, I don't know why?

CodePudding user response:

//==UserScript==
//@ name WeChat remind
//@ namespace http://tampermonkey.net/
//@ version 0.1
//@ the description the try to take over the world!
//@ the author You
//@ match *. Wx.qq.com/*
//@ grant none
//==/UserScript==
Jshint - W097/* */
'use strict;

Var tempStr="MSG";

If (tempStr indexOf (" Text ") & gt; 0)
{


Var audio=document. The createElement method (" audio ");
Audio. SRC="http://192.168.0.9:8012/update/nyxdxx.wav";
audio.play();

}

But no, I don't know why?

CodePudding user response:

 
//==UserScript==
//@ name test
//@ namespace http://tampermonkey.net/
//@ version 0.1
//@ the description the try to take over the world!
//@ the author You
//@ match http://bbs.csdn.net/topics/392264723
//@ the require https://code.jquery.com/jquery-latest.js
//@ the run - at the document - start
//@ grant unsafeWindow
//@ grant GM_setClipboard
//==/UserScript==

(function () {
'use strict;
Var audio=document. The createElement method (" audio ");
Audio. SRC="http://s.2gei.com/src/aud/wav/ee/ee904d6b96984e729d59f8f21414e13e.wav? Download/B1 E7 BA BA E4 % % % % % % % BB E7%9 a % % % % 84% E7 AC 91 - E7 E6 B7 % % % 94% 80% A7 - % E6 % BB E7 BD_ A8 E7 % % % % % 91% 88% BB E7 B1 % % % 99% E7 % % 91 _aigei_com. The BD wav& E=1505935800 & amp; Token=P7S2Xpzfz11vAkASLTkfHN7Fw - oOZBecqeJaxypL: 5 yjbal28xklbwikh7zxhddjufpu=";
audio.play();
//Your code here...
}) ();


Put this in to open your this post

CodePudding user response:

//@ the run - at the document - start

Have set up, set when the program is running, how are you many see the tutorial

Also, want to replace WeChat resource is not so simple thing, resource is a webpack rearranging packaged, resource names will be different every time, you'd better find and replace with regular

Can only help you here, don't have time to study WeChat resources

CodePudding user response:

By the way, don't be silly you use

//@ the run - at the document - start

You want to use the

//@ the run - at the document - end

CodePudding user response:

Thanks to the great god answer upstairs, I'll give it a try, thank you!

CodePudding user response:

references 9 f CDSoftwareWj response:
//@ the run - at the document - start

Have set up, set when the program is running, how are you many see the tutorial

Also, want to replace WeChat resource is not so simple thing, resource is a webpack rearranging packaged, resource names will be different every time, you'd better find and replace with regular

Can only help you here, don't have time to study WeChat resources


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Is that not to replace, I detect any MSG this character, check to return is greater than 0, so you play the following prompt,

Google browser in the F12 code in the Media of the NETwork can see this prompt code
'
Grease monkey doesn't know how to write to get get, perhaps as you say, is packaged,nullnullnullnullnullnullnullnullnullnull
  • Related