google-chrome

ASP.NET - Request.Cookies no longer working in Chrome V80+

自作多情 提交于 2021-02-11 17:07:46
问题 In what is undoubtedly related to the Chromes samesite cookie policies released recently I am now having issues updating cookies in ASP.NET. I have a simple cookie collection to store basic user settings. The cookie is both generated and updated using the code below. SET COOKIE If Response.Cookies("Settings") IsNot Nothing Then Dim cookie As HttpCookie = Request.Cookies("Settings") cookie("Setting01") = ddl.SelectedValue cookie.Expires = Date.Now.AddDays(365) Response.Cookies.Add(cookie) End

ASP.NET - Request.Cookies no longer working in Chrome V80+

折月煮酒 提交于 2021-02-11 17:04:56
问题 In what is undoubtedly related to the Chromes samesite cookie policies released recently I am now having issues updating cookies in ASP.NET. I have a simple cookie collection to store basic user settings. The cookie is both generated and updated using the code below. SET COOKIE If Response.Cookies("Settings") IsNot Nothing Then Dim cookie As HttpCookie = Request.Cookies("Settings") cookie("Setting01") = ddl.SelectedValue cookie.Expires = Date.Now.AddDays(365) Response.Cookies.Add(cookie) End

Null values when reading from Chrome SQLite cookie database

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-11 16:44:06
问题 C# Chrome SQLite value not read ? Mozilla cookie value read but chrome cookie value null . What is the correct way to read this cookie value? //String connString = "Data Source=C:\\Users\\XXXX\\AppData\\Roaming\\Opera Software\\Opera Stable\\Cookies;Version=3;New=False;Compress=True;"; String connString = "Data Source=C:\\Users\\XXXX\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Cookies;Version=3;New=False;Compress=True;"; //String connString = "Data Source=C:\\Users\\XXXX\\AppData\

Can a Chrome code snippet be used to detect changes to the DOM?

有些话、适合烂在心里 提交于 2021-02-11 15:49:54
问题 Hi I created this question - Play a sound/notification each time a particular user messages on an existing website - but realized it warranted a more specific question. The Answerer referenced using Chrome code snippets as a solution - but then someone told me this may not work since the code needs to actively "watch" for changes and Chrome code snippets "only load once." Who is right, can Chrome code snippets be used to watch for DOM changes and execute code based on them? 来源: https:/

chrome extension popup.js is not working

丶灬走出姿态 提交于 2021-02-11 15:14:34
问题 I have a popup.html that looks like this <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <link type="text/css" rel="stylesheet" href="css/fbh-ui.css" /> <script type="text/javascript" src="js/jq.js"></script> <script type="text/javascript" src="js/fbh-popup.js"></script> </head> <body style="width: 200px"> <div id="fbh-main"> <div id="fbh-popup-enabled"></div> </div> </body> And fbh-popup.js looks like this $('#fbh-popup-enabled').html(

chrome extension popup.js is not working

对着背影说爱祢 提交于 2021-02-11 15:12:09
问题 I have a popup.html that looks like this <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <link type="text/css" rel="stylesheet" href="css/fbh-ui.css" /> <script type="text/javascript" src="js/jq.js"></script> <script type="text/javascript" src="js/fbh-popup.js"></script> </head> <body style="width: 200px"> <div id="fbh-main"> <div id="fbh-popup-enabled"></div> </div> </body> And fbh-popup.js looks like this $('#fbh-popup-enabled').html(

Chrome is being controlled by automated test software “not secure” data:, Python

ε祈祈猫儿з 提交于 2021-02-11 14:43:12
问题 I'm using the selenium library in python to open google chrome and visit google.com automatically, this is how my script looks like at the moment import os from selenium import webdriver from selenium.webdriver.chrome.options import Options chromedriver = "/usr/bin/chromedriver" os.environ["webdriver.chrome.driver"] = chromedriver chrome_options = webdriver.ChromeOptions() chrome_options.accept_untrusted_certs = True chrome_options.assume_untrusted_cert_issuer = True chrome_options.add

Permissions for modifying DOM in Chrome extension context menu

梦想的初衷 提交于 2021-02-11 14:41:38
问题 I have intermediate knowledge of chrome extension development. Context: Manifest has activeTab and contextMenus permissions. Clicking context menu item should inject content into DOM This works fine for regular web pages, but fails on default Chrome PDF viewer with the following error: Cannot access contents of the page. Extension manifest must request permission to access the respective host. However, if I inject the content first using a key command, then modify that content in the context

Website denies get request using Selenium

假装没事ソ 提交于 2021-02-11 14:24:07
问题 I am trying to use selenium in order to automate for login into a website https://afghanbids.com/ but when I run my python program, the browser loads a page which says access denied. You may please see the screen shot below. My code: driver = webdriver.Chrome(executable_path="chromedriver.exe") driver.get("https://afghanbids.com/") It shows that: How can I make the request so that the target website does not deny my request? 回答1: I took your code, added a few tweaks and encountered the access

Using RSelenium to open chrome browser, getting “Unable to create new service: ChromeDriverService” message and error

℡╲_俬逩灬. 提交于 2021-02-11 14:11:21
问题 As the title says, I've got a script written using RSelenium to automate web navigation, using chrome as the browser. This script has worked fine for months now, but today when I tried to run it, I got the following message: Selenium message:Unable to create new service: ChromeDriverService Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08- 02T20:13:22.693Z' System info: host: 'LAPTOP-22QM8890', ip: '192.168.133.65', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0