How to change user & browser settings on Chromebooks from same domain [duplicate] - google-apps-script

This question already has answers here:
Is there any way to use a script to enable a single flag on Google Admin Console?
(1 answer)
Reset a Managed Chrome Device with SDK using Google Apps Script
(1 answer)
Admin SDK Chromeosdevices method
(3 answers)
Closed last month.
I manage a schools computers that the students are using. Since its kids that are using them I need to restrict them somehow.
We are using Chromebooks with our own Google domain.
Is it possible to create a list with blocked URLs in a google spreadsheet and then run a script that update the settings for every OU in our domain (or the ones that I choses) with our blocked URLs?
So far I havent found anything that is pointing me in the right direction

Related

How to verify app which is currently using localhost [duplicate]

This question already has answers here:
How to set up Google sheets API for personal use
(2 answers)
Closed last year.
I have NodeJS app which needs access to Google drive so I added sensitive scope of .../auth/drive, which needs verification by Google even when only running on localhost.
is there an easy way? either skip verification or verify in much simpler way, do hope Google can make my life easy! already took hours if not days to make signin working, now drive, what else ahead!
as pointed by Iamblichus, stackoverflow.com/a/69343557 is the solution

Need to backup existing deployed firebase function [duplicate]

This question already has answers here:
Get code from firebase console which I deployed earlier
(6 answers)
Cloud Functions for Firebase - Retrieving already deployed code? [duplicate]
(1 answer)
Closed 1 year ago.
I need to backup existing function (nodejs) on production firebase project. I have check docs and unfortunately can't find information how to do this.
You can download or backup your deployed Firebase Function by following the steps:
Go to Firebase Console, and select the project where your function deployed.
Click the Functions to go to the dashboard
Hover over the function name to show the vertical 3 dots and click the 3 dots.
Click Detailed usage stats and it will redirect to Google Cloud Cloud Function Console.
Look for SOURCE panel(between DETAILS and VARIABLE) and click.
Find the DOWNLOAD ZIP button in the right side of screen and click.
It will start to download your latest source of your function in a zip file.

Previously unobserved "Sign in with Google temporarily disabled" error [duplicate]

This question already has answers here:
"Sign in with Google temporarily disabled for this app" error when trying to authorize a script
(5 answers)
Closed 2 years ago.
we have a problem with the authorization of the script in a google spreadsheet. Script downloads data from other ad platforms. After signing up we get alert:
Sign in with Google temporarily disabled for this app. This app has not been verified yet by Google in order to use Google Sign In.
Until this time, there was no problem with authorization.
This is a bug:
This is a known issue some users have been experiencing in the last few months. It was reported on Issue Tracker some time ago:
Google Apps Script unauthorizable
While this hasn't been fixed yet, Google's suggested workaround, explained in this comment, is to switch your default project to a standard GCP project, following these steps:
Switching to a different standard GCP project
I'd suggest you to star the referenced issue in order to help prioritizing it.

Access Google Drive from a desktop application [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Android API for Google Drive?
I want to synchronize a single small xml file between Android application and separate standalone Java-based desktop application. First, a user pushes a button in the Android application and the xml file is stored somewhere in the cloud. Next, the user launches standalone desktop application and gets the xml file from the cloud.
I wanted to use Google Drive for this purpose. However, I am confused about the following from Google Drive help pages:
Warning: Authorization alone is not sufficient to give your app access
to users' files — app installation is also required. Apps will not
have any API access to files unless users have first installed the app
in Chrome Web Store.
Is there a way to directly grab/write a file from/to Google Drive having the credentials? Or at least a way with least problems for the end user?
At the moment, we realize this isn't feasible with the Drive API, as you'd need a token created for a client ID that had been installed from the Chrome Web Store. We are planning a fix for this, but don't have anything immediately. In the immediate term, you should use the Documents List API.

navigator.geolocation.getCurrentPosition not allowed on "file:///C:/" based access [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
HTML 5 Geo Location Prompt in Chrome
I've been looking at geolocation in Html 5. I'm using Chrome (12) and am accessing the html file using a path like this: file:///C:/_Development/Examples/Html5/boilerplate.html
I'm getting the little geolocation icon in the search bar that says that the location has been blocked from tracking your location.
Note that I don't have any exceptions setup at all...
Can this be done or do I need to host the file on a web server? If it can't be done, why can't it be done?
Thanks
This is a duplicate of this question:
HTML 5 Geo Location Prompt in Chrome
It seems that chrome has security restrictions on accessing geolocation data locally. You need to host the file to use the data. A workaround with python is available in the previous question.