Using other helpful answers on the StackExchange community I have a custom URI protocol registered on a client's machine. It points to a simple AppleScript that we can then change as needed. In testing on our Mac here, it works without issue with a link formatted like:
oururl://path/here
However, when trying to click that url on their machines, in Safari, Firefox, and Chrome, the URL is automatically changed to:
unsafe:oururl://path/here
So far I've been unable to find any additional information on why the "unsafe:" prefix is being added or how to address it. Any insight or workarounds?
Version info:
OSX 10.6.8
Safari 5.1.10 (6534.59.10)
Firefox 26.0
Chrome Version 30.0.1599.101
Thanks.
It turns out this was much simpler than I thought (as usually happens in software development). Somehow I didn't catch this until user testing, which is what threw me in the direction of thinking it was a Mac issue. This is not a Mac issue.
I'm using the AngularJS framework and one of its "features" is to mark unknown protocols with an unsafe prefix. I used this answer to configure it to recognize mine and now all is well.
Related
I have written a JavaFX app running on Windows 10 machine in the office which has problems showing (painting/rendering) certain embedded controls such as a Pane with PdfBox when I connect to it with Remote Desktop for Mac. It shows only a black screen in the app instead of the pdf document.
When I connect using RDP from my Windows 10 machine at home to my Windows 10 machine at work, the app works just fine (the pdf is shown in the app).
I have the same problems using AnyDesk and Teamviewer.
The app only shows PDFs properly using a connection from Windows 10 to Windows 10 with Microsoft RDP.
It might be a JavaFX issue. Similar issues are described here (although not 100% identical):
https://bugs.openjdk.java.net/browse/JDK-8239589
https://bugs.openjdk.java.net/browse/JDK-8229394
However, since I guess Microsoft Remote Desktop for Mac is using the same technology as the Windows Desktop client, I would have expected it to work fine.
I have a Mac Mini M1 running the latest OS (Monterey) at the time of writing this post. I am also using the latest Remote Desktop client for Mac.
This problem is not new and was also present in older releases.
I have tried to play around with screen resolutions, both on Host and Client but nothing good came out of those tests.
Disabled also hardware acceleration in Remote Desktop for Mac preferences but it didn't change anything.
The machine at the office has the following specs (which I cannot change nor update)
Edizione Windows 10 Pro
Versione 20H2
Data installazione: 10/09/2021
Build sistema operativo 19042.1415
Esperienza Windows Feature Experience Pack 120.2212.3920.0
Anyone else who has seen this problem and perhaps resolved it?
Could it be a bug in either PdfBox or Remote Desktop for Mac?
Except for the above issue, the Remote Desktop Client for Mac is working great (not lagging as TeamViewer or AnyDesk) and the user experience is phenomenal.
PS: While this might be considered a programming question (since I wrote the app with JavaFX) but it might be better to post on another forum? If yes, which one? On the other hand, many similar posts (look at the suggested thread on the right) have been upvoted despite not dealing with programming issues.
Thanks.
How do you use PDFBox? I ask because this is not a JavaFX component. If you use a SwingNode for that it might be interesting to try one of my two PDFViewer demos here and see whether the problem persists.
https://github.com/mipastgt/JFXToolsAndDemos#awtimage
The difference is in how I do the rendering and maybe that makes a difference for your use-case too. But of course this is just a wild guess and I can't promise anything.
I am learning to build a web application for Hbbtv using the Hbbtv SDK.
So for testing a sample app, I was looking for an emulator and came across FireHbbtv Extension by firefox.
However, whatever I do, it says the extension is not compatible with the version of Firefox. can any of you help with what is happening
Firehbbtv extension is abandoned, but you can install it using an old Firefox version (<52 as far I remember). Make sure the automatic updates are disabled if you want to keep the extension available.
There is another HbbTV plugin named hybridTV (https://github.com/karl-rousseau/HybridTvViewer) It works fine, but it is in development.
There is also a third option, using the opera (now called vewd) SDK. You can find the info and the virtual machine downloads visiting
https://www.vewd.com/products-services/vewd-tv-emulator/
I am using Windows 10 (insider build) and Firefox 58.0.2. But all the browser detection sites like www.whatismybrowser.com and similar says that I am using Firefox 52 on Windows 7. Detection scripts also return wrong screen resolution.
Can anyone say why is that? Maybe some firefox plugin - but I am not using any that would do that, that I know of. Maybe uBlock Origin?
If you have the setting privacy.resistFingerprinting turned on in about:config, Firefox will pretend to be the most recent ESR version (in this case 52) on the most common OS (Windows 7).
This is to make your browser's user agent string the same as a lot of other people's, so it's harder for sites to use it to identify you.
https://bugzilla.mozilla.org/show_bug.cgi?id=1418672
Problem:
I am stuck up with an issue in which I have to find machine details ( OS version , OS architecture, OS Role host name, SCCM Site code, SCCM Version , IP address, MAC address).
Earlier I was doing it using activex Object in which I was deploying a dll (prepared using C++ code and using firebreath to generate the dll from ocx compiled file of C++) on client browser context using activex. Firebreath uses NPAPI. This Native Code was available to all the browsers (Chrome, Firefox, IE till 10).
Now after google declared not to allow NPAPI later this year will create problem.
Looked Upon
Since the above details I am looking for is web user details, so I was looking into emscripten which can generate javascript from C++ code to be executed in the browser context and could get me details, but after trying a lot I was not able to generate the javascript code from my C++ code (I am not sure why it fails when using emcc command using emscripten compiler to generate js code, it fails in finding atlbase.h)
It will be great if any one could help me out in generating JS code using emscripten or can suggest me any other route to get the above mentioned machine details using an interanet application. I don't want to use WMI route as my web application supports mac machine as well as Modern UI browsers
Link for emscripten- https://github.com/kripken/emscripten/wiki
The only option that I can see that will work on Chrome is Native Messaging; in order to get most of that I think you will have to be running native code.
You'll probably need to keep using your FireBreath plugin for all other browsers; I don't know of any other options that may work. I guess js-ctypes might work on firefox.
This is my first time on this site. I have a HTML/CSS/JS application. For that application to work, we also have a browser npapi plugin ".so" file that is installed in plugins dir of firefox. This works on firefox browser on Linux. Now I want my application to run on Firefox OS (B2G). How do I port that ".so" plugin to firefox OS?.
What I have done is, I have built B2G and flashed it on my test device. I have built that plugin for android platform by using gecko sdk and firefox OS source. I have pushed my .so file in FFOS phone in /system/lib as well as /system/b2g (the folders where I can see other .so files.). Is that the correct approach? What else do I need to do to make it work. Currently my application is unable to load that plugin ( I checked using ./run-gdb ).
Any pointers would be helpful. I have gone through the documentation on mozilla website and also googled it alot but couldn't find the solution.
Thanks.
You are right, NPAPI is not supported on Firefox OS / B2G.
You do see code for it in the tree (and maybe even in the object directories) because much of the code is actually being used over different products (desktop Firefox, mobile Firefox, Firefox OS, ...).
Mozilla use single gecko engine to support all platform browsers. Those plugins are only used by desktop browsers.