It seems that the download link on the popover page no longer work.
I had a chrome extension, if I click a download link on the popover page, for example:
<a download="test.txt" href="data:application/octet-stream;charset=utf-8,testtest1234567!##$%^&*()_+\00">Click me</a>
Chrome will download the text file to the default download folder.
But about two months ago, I found this approach no longer work, and Chrome does not give any error message either in the extension background page or the popover page itself.
If you open the extension popover page in a tab, then the download link works.
Firefox 59 works fine now
Edge never work (https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8477778/)
My current solution is opening a new tab to save the file, but it is not what I expected. Do you have any solutions on this?
Thank you very much
Related
I am writing a script for web automation with SELENIUM and, in theory, I have two options to capture the data I need from the websites I am scraping:
I can let the script extract relevant information from each tag on the result pages.
I can make the script click on the browser extension button in my browser window and let the extension manage the data for me.
I know how to extract information by HTML tag, but when it comes to browser extensions, I have only found instructions how to install / uninstall them with SELENIUM, but no instructions how to "activate" them once they are installed.
I am using Firefox and would be very grateful if you could point me in the right direction.
I was not able to solve this problem in FIREFOX but in CHROME:
I created a browser profile including my extension and a key shortcut to activate it.
I opened that profile when starting the browser with SELENIUM.
I used SELENIUM to navigate to the right URL.
I used pyautogui to press the relevant keys and trigger the file download.
I created a Azure Static website and uploaded some test html to test it out. And it worked.
But now I have uploaded some different content and those changes are not showing in Chrome and other browsers except Internet Explorer.
I linked this with Custom domain as well.
This is what showing in chrome:
This is what showing in Internet Explorer:
I cleared cache in Chrome and tried installing Firefox newly as well. But still showing the old content.
Can any one please help?
Update: when I use the URL like https://www.northernlightspictures.com/index.html then I can see the changes
Please try to use the feature Hard Reload or Empty Cache and Hard Reload of Chrome to reload your page, the step as below.
Press F12 in Chrome and Enabled the feature Disable cache
Click the right key of your mouse on the fresh button of Chrome, and then click the Hard Reload or Empty Cache and Hard Reload button, as the figure below.
Of couse, you can directly use the shortcut key:
For on Windows and Linux, Ctrl+Shift+R or Shift+F5. For on
MacOS, Cmd+Shift+R.
Please try to browse your website again in Chrome, as it is working for me as per your expectation.The way you see it working in Internet Explorer, its showing the same for me on Chrome and Firefox as well. "https://www.northernlightspictures.com/"
Please try to browse the application in "incognito window" i.e. private window.
I have a Chrome Extension (page action). The extension is loaded in developer mode (not from the store).
The extension is used in two sites, both of which URLs are in the manifest.
When I go to one of the sites, the page icon is enabled and when I click it, it runs fine.
When I go to the other site, the extension icon is also enabled but when I click on the extension, instead of running the action, the extension menu appears (as if I had right-clicked the icon instead of clicked it).
When I hover the page action icon, in both sites I get the text "Has access to this site".
Which are possible causes for this behavior?
Something definitely changed with the manifest.json handling of the most recent Chrome update. (In my case, "Version 72.0.3626.96 (Official Build) (64-bit)" on Windows.) My extension stopped working in a way similar to what you describe.
The solution to my problem was to remove the specific url permissions I had specified in the "permissions" section, and replace them with <all_urls>. I tried tightening them back up again, but the only other thing that worked for me was https://*/*.
I tested this on several machines that had the previous version of Chrome and they had the same behavior... successful operation before the Chrome update, no response after. The icon displayed properly and showed "Has access to this site", but my background page refused to run.
Good luck! Hopefully this helps!
I have a chrome extension installed in my browser. When I click the extension's icon in the menu bar the extension opens as a floating pop-up, as expected.
What I am trying to do is to open the extension in Chrome via a link/shortcut/whatever from another program. As a first step I've tried opening the extension from the command line, ex:
chrome "chrome-extension://abcdefghijklmnopqrstuvwxyz/index.html"
This works but the extension opens as a new tab and takes up a full broswer page instead of a just being a pop-up. Is there a way to open the extension as a pop-up on top of any open tabs?
Sadly, it's completely impossible.
There is an API in the works, but it would require at a minimum a user gesture, at a maximum explicit invocation of the extension.
So opening a link would not be enough, nor would a Native Message be.
you cant make the native extension popup to show programatically but you could use a content script that displays the popup (using the new for example) on the tab that you want.
I'm new to Dreamweaver CS4 and making my first website. I've watched a lot of tutorials and they all just click the Preview in Browser button and they can see what their page looks like in Firefox/IE/etc.
But when I click Preview in Browser a new Firefox window opens up and it goes to my homepage and that's it.
What do I need to setup in order be able to preview in firefox?
THANKS!
I don't use Dreamweaver, although I have it as part of CS4. But I just now opened up the app, created a test HTML page, saved it, and hit F12 (Preview in Browser). And there was my test page. I honestly don't know what you could be doing wrong. I thought it might be that you didn't save your file, but you get a warning dialog if you try to preview without doing that.
After some playing around I fixed the problem myself.
First I had to go to manage site and edit the basic preferences on my website.
I had to make sure the 'URL to browse to the root of your site" is valid.
In my case it I had to add:
file:///C:/Documents%20and%20Settings/Linda/My%20Documents/website1/