feat(injectors): add Airtable cookie consent closing injector#847
Conversation
PR Reviewer Guide 🔍(Review updated until commit e0b0d12)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit e0b0d12 |
PR Code Suggestions ✨Latest suggestions up to e0b0d12
Previous suggestionsSuggestions up to commit e0b0d12
|
There was a problem hiding this comment.
Pull request overview
This PR adds a new JavaScript injector example intended for Airtable pages that hides the OneTrust cookie consent banner by injecting CSS targeting #onetrust-consent-sdk.
Changes:
- Add a new injector example script:
airtable-cookies-consent-closing.js - Implement CSS-based hiding of the OneTrust banner via an injected
<style>element
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
User description
Summary
display: none) targeting#onetrust-consent-sdkfor reliability, since the banner loads asynchronouslyPR Type
Enhancement
Description
Add Airtable cookie consent injector
Hide OneTrust banner using CSS
Diagram Walkthrough
File Walkthrough
airtable-cookies-consent-closing.js
Airtable OneTrust consent banner CSS hiderjavascript-injectors/examples/airtable-cookies-consent-closing.js
styleelement at runtime.#onetrust-consent-sdkwithdisplay: none !important.document.head.