Disable the "Not available for your platform" on the addons.mozilla.org - firefox-addon

Does anybody know how to disable this message and also to disable gray "Download" buttons?
I wanted to download some addons for Android platform from my desktop PC. When I load an addon page in Firefox it doesn't allow me to "Save Link As..." and the button is gray.
I can only do it if I rightclick the button fast, before the site checks the platform and disables the link.

Random example:
https://addons.mozilla.org/en-US/firefox/addon/slimsearch/
I am using Firefox and above is for Android and the button is grey and it says: Not available for your platform
Here are a few options:
Right-click on the button, "Save Link As...", then save it to your computer
Right-click on the button, "Copy Link Location" and then paste it in any download manger (or another browser) to download.
If you have FlashGot installed and have a download manger, ALT + clicking the button will send the link to your download manager.
Update based on the added info:
Example: https://addons.mozilla.org/en-US/android/addon/close-all-tabs-mobile/
Run the following script in Scratchpad
document.querySelector('div.install-wrapper a').classList.remove('concealed');
An easier method is to create a bookmark to run the script (I often do that and use Bookmarks toolbar for it)
javascript:void(document.querySelector('div.install-wrapper a').classList.remove('concealed'))

Related

How to Security > Privacy settings for a "Watch Me Do" QuickAction in Automator

I'm using Mac OS X 11.0.1 Big Sur
I used Automator to create a "Watch me do" QuickAction. I've saved it (is seems to save in ~/Library/Services by default), and exported it to iCloudDrive/Automator. I can run this script to completion successfully from within Automator without any prompts, warnings or errors.
During export, I was prompted to add it to the Touch Bar, which I did. I can see it on the TouchBar. However, when I run my QuickAction from the TouchBar, I get a popup message indicating that it needs to be added to the Privacy tab:
The action “Watch Me Do” encountered an error: “This application must be allowed to control this computer using accessibility features, using the Security & Privacy preferences located in System Preferences, before using 'Watch Me Do'”
There are two buttons on the popup: Show Workflow and OK
Clicking on "Show Workflow" opens the Workflow in Automator, and does not solve the problem.
Clicking on "OK" closes the popup, does not open the Security Settings, and does not solve the problem.
I can see that Automator is added to Security & Privacy > Accessibility AND ITS CHECKED.
I can see that Automator is added to Security & Privacy > Full Disk Access AND ITS CHECKED.
I can see nothing in the Security & Privacy > Automation pane.
I don't see my QuickAction anywhere, nor am I able to add it anywhere.
I need the procedure to add my QuickAction to the appropriate section to satisfy the security requirement please.
Put your TARGET app in the Security & Privacy > Accessibility section, like if you are gonna run that workflow in Chrome, then put Chrome in the Security & Privacy > Accessibility (simply drag the Chrome.app file into the window).
That works for me!
Check if Automator is allowed to control Bluetooth (same menu Security&Privacy). Worked for me. I never seen this "Watch me do" warning after that.
Check the list of apps in the "Accessibility" area of Security and Privacy. At least one of the apps that are unchecked will need to be checked. This is because after giving you the pop up error message, MacOS adds the needed app(s) to the list of apps allowed to "control your computer". But you have to manually check mark it yourself, because it is only added to the list, but not checked. (Note: not all the apps in this list need to be checked, just the one's relevant to your workflow.)
It's a confusingly worded popup message. Note that we can't even create a "Watch Me Do" until after Automator is given "Accessibility". (This may be confirmed by unchecking Automator in Accessiblity, and then trying to record a "Watch Me Do".) So, even before we are able to record a "Watch Me Do", Automator has Accessibility. Which means, the pop up message you are seeing is not referring to Automator, but to another app.
For example, if your "Watch Me Do" included a click of the menu at the top your Mac's screen, then you would have to give the "Finder" app "Accessibility" too.
To expand the example, I created a "Quick Action" to "Launch Application", and then "Watch Me Do". During the recording of "Watch Me do" I clicked on "File" in the menu at the top of the Mac screen. This menu click was performed not while Finder was the selected app, but while the launched app was selected, so it did not say "Finder" in the upper left corner of my screen, but rather had the "App Name" in the upper left corner of my screen. I was not required to add Accessibility for the app that was launched, but I was required to add Accessibility for Finder. (Edit: I discovered if the app being launched is already launched before running the workflow, then this example required me to give the launched app Accessiblity. Go figure.) ​
Note: if you had created an "Application" instead of a "Quick Action" then you would also have to give the application you made with Automator to have "Accessibility."
I've found that making your changes in the Security & Privacy > Accessibility section, and keeping the lock unlocked when quitting, ensures that the workflow operates as desired.

Can't get my .html files to save in chrome

When I click the "save as" button on Notepad and save it, it has the Edge icon instead of the Chrome one on the file icon and opens in Edge instead of ChromeImage:
Probably your default browser is Edge.
Set your default browser to Chrome.
https://support.google.com/chrome/answer/95417?co=GENIE.Platform%3DDesktop&hl=en
As already informed by the other community member that on your machine, MS Edge legacy browser is set as a default browser.
That's why it is showing the Edge browser logo on the HTML file.
If you want to change your default browser then you can try to refer to the steps below.
Open Settings on your Windows 10 OS.
Click on Apps.
Click on the Default apps option from the left sidebar.
On the right side of the settings window, you can see the web browser option.
click on the browser will show you the list of the installed browsers on your machine. You can click on the desired browser to make it your default browser.
If you don't want to change the default browser then you can try to use the Open with option to open the HTML file with any other browser.
Select the HTML file.
Right-click on HTML file.
Hover the mouse pointer on Open with option. It will show you the list of the installed browsers.
You can click on the desired browser to open the file with that browser.

QAF Reports are not populated in dashboard.htm

Got the latest code here: https://github.com/infostretch/qaf-report.
Extracted dashboard directory & dashboard.htm to the project root directory.
Ran QAF tests.
Opened dashboard.htm during test run & also after test run.
Tried to open dashboard.htm in Google Chrome, Firefox & Safari after giving permissions to access local files. But Dashboard.htm did not load anything. A spinning icon is displayed continously even after several minutes.
Am I missing anything here?
If you are accessing reports locally as file protocol, browser may have restriction to access local files. In such case follow the steps to allow local file access from file for the browser you are using.
Firefox:
go to about:config
set security.fileuri.strict_origin_policy:false.
Safari:
Click on the Develop menu in the menu bar.
Select Disable Local File Restrictions.
If develop menu is not available, Click on the Edit > Preferences > Advanced tab. Check "Show Develop menu in the menu bar.
chrome:
Close down your Chrome browser (make sure you close all instances if you have multiple windows open)
Go to Run and type the following command: chrome.exe --allow-file-access-from-file.
Hit enter.
Reference from local-report-access
I just want to give more clarity by making little corrections to the existing steps mentioned here:
https://github.com/infostretch/qaf-report#local-report-access
When you are opening report "dashboard.htm" from local file system, your browser may have local file access restrictions.
In that case, you can do following setings:
Firefox:
Enter "about:config" in the browser url field & click on the button "Accept the Risk & Continue".
In the "search preference name" field, enter "security.fileuri.strict_origin_policy" & click Enter & click on the toggle button towards the right to set it FALSE.
Safari:
Click on the Develop menu in the menu bar.
Select Disable Local File Restrictions.
If develop menu is not available,
1. Click on the Safari > Preferences > Advanced tab(in MAC, Safari > Preferences > Advanced tab).
2. Check "Show Develop menu in the menu bar.
Chrome:
In Windows PC:
Close down your Chrome browser (make sure you close all instances if you have multiple windows open)
Go to Run and type the following command: chrome.exe --allow-file-access-from-file.
In MAC
Open your terminal anywhere, make sure Google Chrome is currently not running, copy paste this line and hit enter:
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files

"Safari cannot open the page because the address is invalid" message appears when I try to launch my app from a website

Device : iPhone 5 / iOS 9.3
I have an iOS app which I need to launch from a website. I was able to do it via custom URL scheme.
When I click the "Open App" button in the website, an alert dialog appears that says "Safari wants to open MyApp" with OK & Cancel buttons.
Clicking OK : everything is just fine. The app gets launched from the website perfectly.
Clicking Cancel : First time, it just dismisses preventing the app being launched, which is correct.
When I click on the "Open App" button once again from the website, I expect the same "Safari wants to launch MyApp" alert dialog to appear once again, which is not happening.
Instead, it shows a dialog that says "Cannot Open Page - Safari cannot open the page because the address is invalid" with an OK button.
My assumption was, every time when you click on that link in the website (that can launch the app via custom url scheme), I should be prompted with "safari wants to open MyApp" alert dialog all the time.
What am I missing here ? Appreciate your help in advance.
It's a known behavior.
If you tap on facebook://feeds:
And open it then Safari won't blacklist the facebook scheme for that Safari tab. You would be allowed to open facebook://profile, facebook://feeds, facebook://settings, etc. on that tab
However if you click on 'Cancel' then you're no longer able to able any url with that scheme for that tab only ie you won't be able to open facebook://profile, because it's been blacklisted for that tab.
What should you do?
Open a new tab and try again. It would no longer be blacklisted for that tab.
It would have been much better though if Apple prompted its user with options like:
Deny once. Deny Always. Allow Always
But I'm guessing if they did that then they'd have to provide alternate ways for the user to customize behavior per host/scheme. Obviously Apple doesn't want to allow that.
I met the same problem when using Google Tag Manager in my code. Try the javascript event for opening the app instead of using the href of the tag a.
I was getting a similar error, fixed it by allowing "Installing App" in restriction(Settings->General->Restriction), enable the toggle button. It is by default enabled but I restricted it in past by disabling the toggle button.
Hope this helps anyone.
I just fixed the same problem on an iphone. Go to settings> General> Restrictions> Safari. Make sure it is "allowed" or turned on (swipe to green). Exit out of settings and retry. It should work.

Developer tools in windows edge browse localstorage

I'm trying to use the new windows Edge browser for my web development.But just can't find any way to browse localstorage, cookies etc. inside the developer tools. How do I view them?
Best regards
They are here: Debugger tab -> Folder icon on the left, under the "play" icon.
you can check localStorage object in the Console
Open F12 Developer Tools (press F12)
Go to Console tab
type localStorage in the input and click run/press enter. check the screenshot

Resources