You could take a look at the enqueued scripts in $wp_scripts ($wp_scripts->registered), but the naming could be different (“it’s requirejs but let’s call it loadstuffjs, just because”), so I doubt it’ll be close to perfect.
Also, your plugin might be loaded before the other plugin, and they might trigger the problem without you having any control.
Maybe make loading requirejs optional (but enabled) and tell people that they ought to try disable loading it if they run into this problem (the reason being that the “other” requirejs will be loaded and work just fine). Also, I’d get a list of plugin/themes that you have these problems with and inform the user about incompatibility and ask whether they want to enable your “compatibility mode” (aka not loading requirejs through your plugin).
Related Posts:
- force enqueue script to be first in order of prominence
- How do I make my wordpress page more friendly for mobile viewers?
- Check javascript file Proper way in functions.php
- Dequeue / Deregister script and replace it with a new plugin
- Add extra parameter in tag using script_loader_tag
- dequeue not work
- Can I share predefined fonts from theme_support with a gutenberg component?
- Problem in loading javascript in footer
- React JSX in WordPress Plugin Development
- Using custom JS plugins with WordPress?
- Enqueue WordPress plugin scripts below all other JS
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- Is there a loading priority for login_enqueue_scripts?
- Deactivate JS Script in Plugin Shortcode
- Remove / overwrite some functions in buddypress.js
- Add type to enqueued script inside plugin
- Load CSS files in header of Bones theme?
- How to enqueue some javascript source once per page
- Plugin Admin panel checkbox unchecked after submit
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- Custom Plugin scripts from admin working in frontend
- Edit all $wp_scripts at once to $in_footer = false
- Edit all $wp_scripts at once to $in_footer = false
- Ajax Call not Working in Plugin
- WordPress site hamburger menu toggle not working
- Why can I not deregister my style and script on custom post type?
- Speed issues because of CSS & JavaScript
- Javascript as Jquery Function Call?
- Trying to use wp_register_script/style and enqueu them from an array – getting an error [duplicate]
- WordPress Gutenberg Custom Block the viewScript does not get loaded on the frontend when my block is inserted
- Problem with wp_enqueue_scripts in plugin
- Implement plugins as part of a theme
- How can I list recent posts excerpts?
- Avoiding Duplicate function names in Post Loop (WP_Footer script)
- How to remove all javascript in a theme wordpress?
- wordpress theme backend admin only
- My scripts-bundle.js file is getting sent to the browser as a stylesheet css file. Help!
- Deactivate Plugin on Theme Switch
- ‘Customize’ button in admin bar for CSS
- Pass a php string to a javascript variable
- Unable to install theme recommended plugins on Multisite
- Theme or Plugin: Where should I write my code?
- More than one text-domain is being used because of the included templates for plugins
- Calling JavaScript file with Custom Plugin
- Plugin Deactivate Self on Activation Errors
- Register script in one plugin, and enqueue it in another
- How to Know if a Plugin can be used with my Theme [closed]
- Add js into a theme [closed]
- JQuery not working in my plugin [closed]
- prettyPhoto media loading very slowly in Chrome
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- How to load plugin after page is loaded – pagespeed issues
- Not able to open category post [closed]
- add mediaelement.js plugins into WordPress video player control bar
- Shortcode button dosent work for all posts. Work for first post only
- Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
- Reusable functions and tools (Framework)
- How To Clean The Malware Infected & Hacked WordPress Websites? [duplicate]
- Do I still need a theme to use page builders?
- How to remove style and js from theme and add your own style and js where shortcode is used?
- How to prevent users to download videos from lms website?
- Internationalization autocomplete JS variable
- How to get current post user id
- Only Homepage not loading properly
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Uncode theme content block header ignoring saved changes/not updating?
- Two (or more) looks, with one set of content
- Different UI in WordPress
- Theme and plugin install or update display error in localhost
- Override Javascript in a Plugin?
- Re-naming a theme/child theme whilst maintaining updates
- Can I make a super plugin that also has a theme?
- Reduce Drop down Menu Width in WordPress
- Use wp_enqueue_scripts from included php file
- plugin style conflicts, how to override? [closed]
- How to disable specific plugin in mobile version?
- Unable to upload wordpress plugins
- Is there an earlier hook than login_head or login_enqueue_scripts?
- The problem with WordPress Importer
- How to disable CSS rule in Twentythirteen style.css?
- Prevent WordPress installing plugins and themes via Admin
- Best approach to fetch data from wp options to js file or php file
- Plugin Handle URL With Custom Theme
- Globally register styles but enqueue them selectively
- How to read individual user’s directory and display content to that specific user?
- issues with wp_enqueue_script in my plugin
- Guidelines / restrictions about advertising /donate begging unside wordpress plugins or themes
- Making a plugin only available on the front-end for the logged in super admin
- Can someone please tell me what is wrong with my plugin?
- Updating the Drag-To-Share eXtended share URLs?
- Admin Theme customization
- Hooking in to replace the Sidebar/Widget areas
- Scripts at the end of the page
- WSOD after upgrading to 3.1
- wordpress site | All-in-one-cufon IE Issue
- How to add Internationalization in WordPress using Javascript/React?
- Can I use custom CSS and js plugin to put JavaScript in to validate my forms
- Change upload folder for a CPT
- How to get the element ID from new menu list that added with add_filter()?