Drupal - Media Module - Removing the Web tab
I was recently stomped by a request to remove the 'Web' tab in the Media browser window in Drupal.
I had found a link that showed me how to do it for the library and created a module that did that. I was able to easily figure out how to remove the update tab, by replacing the word 'library' with 'update'. Easy. But 'web' wasn't working for me. Upon further inspection I noticed the href for the link was '#media-tab-media_internet', not web so replaced 'library with 'media_internet' and low and behold it worked.
Seriously, why do people make things so complicated.