无法使用您的OpenID提供程序登录:无法解析您的OpenID标识符。 [英] Unable to log in with your OpenID provider: couldn't parse your OpenID identifier.

查看:150
本文介绍了无法使用您的OpenID提供程序登录:无法解析您的OpenID标识符。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



从最近几天开始,我试图创建一个Chrome扩展程序,帮助我自动登录我的Gmail帐户。它使用内容脚本工作正常,脚本自动在文本框中输入我的电子邮件ID和密码,然后单击登录按钮。现在,我有多个具有相同密码的电子邮件ID。为此,我创建了一个数组,其中包含我的10个电子邮件ID并应用一个循环,它将逐个输入我的id,但问题是当页面再次加载时我的脚本也会加载,所以循环从第1个元素开始每次都是数组。



为了解决这个问题,我尝试在我的内容脚本中使用jquery.get()函数处理文件处理(文件包含10个电子邮件ID)。文件处理的问题是: -



内容脚本仅在加载https://accounts.google.com页面时起作用(因为清单文件匹配 :[https://accounts.google.com/*],代码)。当我尝试使用驻留在放置脚本文件的同一文件夹中的$ .get函数在内容脚本中获取文本文件(1.txt)时,它会在chrome控制台GET https:// accounts中生成错误消息。 google.com/1.txt 404(Not Found),这意味着它开始在谷歌服务器上搜索我的文本文件但不在我的系统上搜索。



现在如何,我可以在从我自己的系统中获取文本文件时在gmail页面上应用内容脚本。



提前谢谢...

解析方案

.get函数驻留在放置脚本文件的同一文件夹中,它会在chrome控制台中生成错误消息GET https://accounts.google.com/1.txt 404(未找到) ),这意味着它开始在谷歌服务器上搜索我的文本文件但不在我的系统上搜索。



现在怎样,我可以在gmail页面上应用内容脚本从我自己的系统中提取文本文件。



提前感谢...

Hi All,

From last few days i m trying to create a chrome extension that would help me to automatically logged into my gmail account. It's working fine using content script which automatically enter my email id and password into the text boxes and click on signin button. Now, i am having multiple email id's with same password. For this, i created an array which includes my 10 email ids and applying a loop which will enter my id one by one but the problem is as the page get loads once again my script also get loads, so the loop starts with 1st element of array every time.

To resolve this i tried working on file handling (file contains 10 email ids) with jquery.get() function in my content script. Problem with file handling is:-

The content script works only when "https://accounts.google.com" page loads(because of manifest file "matches": ["https://accounts.google.com/*"], code). When i tried to fetch a text file("1.txt") in content script using $.get function residing on same folder where the script file is placed , it generates an error message in chrome console "GET https://accounts.google.com/1.txt 404 (Not Found)", which means it start searching for my text file on google server but not on my system.

Now how, can i apply the content-script on gmail page while fetching text file from my own system.

Thanks in advance...

解决方案

.get function residing on same folder where the script file is placed , it generates an error message in chrome console "GET https://accounts.google.com/1.txt 404 (Not Found)", which means it start searching for my text file on google server but not on my system.

Now how, can i apply the content-script on gmail page while fetching text file from my own system.

Thanks in advance...


这篇关于无法使用您的OpenID提供程序登录:无法解析您的OpenID标识符。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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