该类chrome_omniboxView不再可用? [英] the class chrome_omniboxView is no longer available?

查看:645
本文介绍了该类chrome_omniboxView不再可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

FindWindowEx(Hwnd, 0, "Chrome_OmniboxView", Nothing)

Chrome_OmniboxView,不再可用。我怎样才能谷歌浏览器当前URL?

Chrome_OmniboxView, is no longer available. how can i get current url of google chrome?

推荐答案

我刚刚写了一个Chrome扩展来解决这一确切的问题。我已经把它在Chrome网络商店(免费)位置:<一href="https://chrome.google.com/webstore/detail/add-url-to-page-title/ghpeimfjbonkimelnkbgekmcboomkgmi" rel="nofollow">https://chrome.google.com/webstore/detail/add-url-to-page-title/ghpeimfjbonkimelnkbgekmcboomkgmi

I've just written a Chrome extension to resolve this exact problem. I've put it in the chrome webstore (free) here: https://chrome.google.com/webstore/detail/add-url-to-page-title/ghpeimfjbonkimelnkbgekmcboomkgmi

它所做的就是将网页的HTML标题转换为这种格式: 原标题|网址:http://www.the-url.com]

All it does is to convert the html title of the page to this format: Original Title |url:[http://www.the-url.com]

这是投入由Chrome浏览器的窗口标题,您可以读取使用NativeWIN32.GetWindowText(手柄);

This is put into the window title by Chrome, which you can read using NativeWIN32.GetWindowText(handle);

这篇关于该类chrome_omniboxView不再可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆