GithubHelp home page GithubHelp logo

Comments (9)

souredoutlook avatar souredoutlook commented on June 8, 2024 1

@a-hariti Here's how it shows up in Firefox:

image

AFAICT our application wouldn't have access to this request for a few reasons:

  • it's being made from an iframe
  • PerformanceObserver doesn't register this event either

I'm in talks with Zendesk about either getting themselves removed from the tracker list (unlikely) or modifying their widget to use the hostmapped URL - which would not be blocked (the same resource is available at support.sentry.io for example)

We've been experimenting with the following:

  • make a request for the resource and observe if it fails
  • if it fails render a link or alter the behaviour of the click event to open a new tab with the request submission form

Seems to be an alright UX.

Happy to chat through this live some time! would be nice to meet :)

from sentry-docs.

lizokm avatar lizokm commented on June 8, 2024 1

@a-hariti - This has been approved by our legal team so we can go ahead and add it after we're done implementing the new UI. Their only stipulation was to add a script that ensures that no cookies are being dropped. Here's what they said:

If we have the following script loaded before the widget script it will prevent trackers from being dropped:

<script type="text/javascript"> window.zESettings = { cookies: false }; </script>

from sentry-docs.

getsantry avatar getsantry commented on June 8, 2024

Assigning to @getsentry/support for routing ⏲️

from sentry-docs.

getsantry avatar getsantry commented on June 8, 2024

Routing to @getsentry/product-owners-docs for triage ⏲️

from sentry-docs.

a-hariti avatar a-hariti commented on June 8, 2024

We might be able to work around the tracker blocking by proxying the script through our domain?

from sentry-docs.

souredoutlook avatar souredoutlook commented on June 8, 2024

The issue with proxying the script through our domain is that the script itself is making requests for additional resources at the blocked domain

from sentry-docs.

a-hariti avatar a-hariti commented on June 8, 2024

We can install a service worker to intercept the requests and proxy them

Not sure if it would kick in before the ad blocker though

from sentry-docs.

a-hariti avatar a-hariti commented on June 8, 2024

I think opening a new tab could work as an alternative if it's not subject to blocking itself

The first two options both take control away from us and would probably delay the implementation indefinitely

from sentry-docs.

souredoutlook avatar souredoutlook commented on June 8, 2024

@lizokm as a stop gap I think adding the content to the footer and opening help.sentry.io in a new tab would be a great first step.

If we get the go ahead from Security to use the widget - it can be run cookie-less here by using the config setting outlined here: https://developer.zendesk.com/api-reference/widget/settings/#cookies

from sentry-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.