munich123
Forum Replies Created
-
many thanks for the reply – awesome. i love File-Manager.
keep up the great work – it rocks
hi there – at the moment i am not sure if this above mentioned “results” are valid results. I am still persisting with this issue i will keep on searching
first of all: many many thanks for your awesome support this is much much more than expected. : yes i think that deregister and dequeue the Javascript is a good idea. but i had no luck – at least not with my attempts.
see this thread – where i seemed to get some awesome tipps.
https://ww.wp.xz.cn/support/topic/i-am-having-a-heck-of-a-time-disabling-google-maps-from-my-wordpress-page/
imagine : i was also working with patchcode from the Astoundifi-devs – which did not did the trick – solve the issues. now this approach seems to be going into a new direction:what seems to do the trick and is leading to a different result in the checks in mozilla developer-console is the
Opaque Response Blocking (ORB) is a replacement for Cross-Origin Read Blocking (CORB – https://chromestatus.com/feature/5629709824032768).
CORB and ORB are both heuristics that attempt to prevent cross-origin disclosure of “no-cors” subresources.note: i applied the code that was mentioned i(see the other thread) in the path that was described there.
aterward i installed the plugin (necessary or not ..i installed the “complianz – GDPR / CCPA Cookie Consent-plugin: https://ww.wp.xz.cn/plugins/complianz-gdpr/ )
see what i have got back in the mozilla-developer-console: https://pastebin.com/TfrDEuxw
the ressource xyz wurde durch OpaqueResponseBlocking blockiert. Grund: "nosniff is true and mimeType is an opaque-blocklisted MIME type or its essence is 'text/plain'". Die Ressource unter "https://googleads.g.doubleclick.net/ xyz " wurde durch OpaqueResponseBlocking blockiert. Grund: "nosniff is true and mimeType is an opaque-blocklisted MIME type or its essence is 'text/plain'". Anfrage für Zugriff auf Cookies oder Speicher für "https://googleads.g.doubleclick.net/ xyz " wurde blockiert, weil sie von einem Element zur Aktivitätenverfolgung (Tracker) stammt und das Blockieren von Seitenelementen aktiviert ist. Die Ressource unter "https://pagead2.googlesyndication.com/pagead/gen_204?id=dv3-render&msg=fetch&cor=16509900279020177034&x=1&ct=76" wurde durch OpaqueResponseBlocking blockiert. Grund: "after sniff: nosniff is true". ie Ressource unter "https://pagead2.googlesyndication.com/pagead/gen_204?id=dv3-render&msg=running&ord=9279739716690&version=m202309260101" wurde durch OpaqueResponseBlocking blockiert. Grund: "after sniff: nosniff is true". Die Ressource unter "https://pagead2.googlesyndication.com/pagead/gen_204?id=dv3-render&msg=tlbr&ord=9279739716690&version=m202309260101&ct=76&x=1&cor=16509900279020177000" wurde durch OpaqueResponseBlocking blockiert. Grund: "after sniff: nosniff is true". translated: The resource at "https://googleads.g.doubleclick.net/xyz" was blocked by OpaqueResponseBlocking. Reason: "nosniff is true and mimeType is an opaque-blocklisted MIME type or its essence is 'text/plain'". Request to access cookies or storage for "https://googleads.g.doubleclick.net/xyz" was blocked because it came from a tracker and page element blocking is enabled. The resource at "https://pagead2.googlesyndication.com/pagead/gen_204?id=dv3-render&msg=fetch&cor=16509900279020177034&x=1&ct=76" was blocked by OpaqueResponseBlocking. Reason: "after sniff: nosniff is true". The resource at "https://pagead2.googlesyndication.com/pagead/gen_204?id=dv3-render&msg=running&ord=9279739716690&version=m202309260101" was blocked by OpaqueResponseBlocking. Reason: "after sniff: nosniff is true". The resource at "https://pagead2.googlesyndication.com/pagead/gen_204?id=dv3-render&msg=tlbr&ord=9279739716690&version=m202309260101&ct=76&x=1&cor=16509900279020177000" was blocked by OpaqueResponseBlocking. Reason: "after sniff: nosniff is true".what do you say.. see the full result here
https://pastebin.com/TfrDEuxw
look forward to hear form you again. Regards munich@gappiah thanks for the quick answer. right i cannot do it. i thought that there probably are some allready made _”approaches” or plugins that go into that direction.
lets see.
if not – i can look for a coder.
greetings
btw: if we choose the options 2
b. dequeue it in the child theme
Google_Map_API cally on my site are the followingjs?v=3&libraries=geometry%2Cplaces&language=en&ver=6.3.2 common.js util.jsthus the code in functions.php could be like so
Thus the code that could work would be: function dequeue_google_maps_scripts() { wp_dequeue_script('common.js'); wp_dequeue_script('util.js'); wp_dequeue_script('js?v=3&libraries=geometry%2Cplaces&language=en&ver=6.3.2'); } add_action('wp_enqueue_scripts', 'dequeue_google_maps_scripts', 100);what do you say bout this solution..!?
btw: the text below was not formated well – it is the same as above – but not correct formated. so forget the texst below<code class=””>js?v=3&libraries=geometry%2Cplaces&language=en&ver=6.3.2
<code class=””>common.js
<code class=””>util.js …..
subsequently we can use the following Codeblock for the functions.php sensu https://developer.ww.wp.xz.cn/themes/advanced-topics/child-themes/
<code class=””> <code class=””>function dequeue_google_maps_scripts() {wp_dequeue_script(‘common.js’);
<code class=””>wp_dequeue_script(‘util.js’);
<code class=””>wp_dequeue_script(‘js?v=3&libraries=geometry%2Cplaces&language=en&ver=6.3.2’); }
and
add_action('wp_enqueue_scripts', 'dequeue_google_maps_scripts', 100);what do you say!?
Forum: Fixing WordPress
In reply to: removing google-maps and all those assets to meet GDPR-Compliancegood day dear Threadi,
just to let you know – i contacted the folks on astoundify.com – the theme developers and they replied immitiately,
Here is what they replied:Disabling Google Maps within the Jobify theme is indeed possible.
We can provide a PHP code based on the requests made for the Google maps that can help deactivate these calls, but it is not guaranteed to work since it would be based on your setup.Child Theme: If you are not already using a child theme, it’s advisable to create one to avoid losing your customizations during theme updates.
Functions.php File: In your child theme, open the functions.php file.
Add Custom Code: Insert the following custom code to dequeue the Google Maps script. This code prevents it from loading on your site:
Please follow these steps:
function dequeue_google_maps_scripts() { wp_dequeue_script('common.js'); wp_dequeue_script('util.js'); wp_dequeue_script('map.js'); wp_dequeue_script('overlay.js'); wp_dequeue_script('marker.js'); wp_dequeue_script('geometry.js'); wp_dequeue_script('poly.js'); wp_dequeue_script('onion.js'); wp_dequeue_script('controls.js'); wp_dequeue_script('AuthenticationService.Authenticate'); wp_dequeue_script('Imagevt?pb=!1m5!1m4!1i5!2i4!3i11!4i256!2m3!1e0!2sm!3i66...zaSyApOXiWaaV5Xv4Wgjns-dDzNV-sMGf58O8&token=79772'); wp_dequeue_script('vt?pb=!1m4!1m3!1i5!2i4!3i11!1m4!1m3!1i5!2i5!3i11!1...zaSyApOXiWaaV5Xv4Wgjns-dDzNV-sMGf58O8&token=39579'); wp_dequeue_script('QuotaService.RecordEvent?1shttps%3A%2F%2Fjobify-de...zaSyApOXiWaaV5Xv4Wgjns-dDzNV-sMGf58O8&token=54244'); } add_action('wp_enqueue_scripts', 'dequeue_google_maps_scripts', 100);
Be sure to replace all the ‘.js’ scripts with scripts you see running on your end used by the theme. If you are unsure, you may need to investigate the theme’s source code or ask an expert developer for the exact handle. Save and Activate: Save the functions.php file and activate your child theme. Clear Caches: If you are using a caching plugin, clear the cache to apply the changes.
By following these steps, you could effectively prevent Google Maps from functioning on your website. However, please ensure that you have thoroughly reviewed the legal implications of doing so and that this action aligns with your local regulations.
end of citation – i did not apply all the changes yet – i ll do this tomorrow.
just wanted to share with you the good news.
will come back and report all the things i found out.
have a great time. and thanks for the support here – Threadi.Forum: Fixing WordPress
In reply to: removing google-maps and all those assets to meet GDPR-ComplianceHowdy dear Threadi – many thanks for the quick reply and for the hints. All your tipps are very convincing. I will contact the theme-developers at Astoundify.
Many thanks for your support here – for the help you provide.
have a great day. Munich_123