Support

Admin Tools

#9730 Tip when stripping joomla output

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by user13380 on Saturday, 12 March 2011 11:26 CST

slaes
just thought i would drop a quick line to advise the following discover / tip incase any one has an issue or maybe something which can be added in next update if possible.

public_html/includes/js/joomla.javascript.js --> this file is core joomla and once remove joomla inatance is activated, through the way it works system will look for .javascript.js. Solution is simple copy additional file in save directory and just call it .javascript.js

If you dont, you will not be able to save changes from doing any edits on front end and with some browsers backend amongst other things.

keep up the good work Nicholas.

nicholas
Akeeba Staff
Manager
That's correct. The "Remove Joomla! from output" is a no-discrimination feature. If it seems "joomla" or "joomla!" it will redact it. It is meant for use only on basic blog-type sites with no client-side scripting on the front-end.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Randy Prue
Hi. I absolutely want to run the bit to remove Joomla from output (for several reasons).

Is [email protected] saying that I should make a copy of joomla.javascript.js and save it as .javascript.js?

slaes
randy if you think about it originally the output is looking for joomla.javascript.js . When you ask admin tools to strip, it does not re write files code etc, it removes the words joomla from html output (which is fantastic) so with it active suddenly its no longer looking for joomla.javascript.js its now looking for .javascript.js which does not exist as a file. Hence create a copy of joomla.javascript.js and call it .javascript.js and place it in the same directory. All issues solved :) re that's 1. I also say the benefit of this function and know it was a must for it to work.

Randy Prue
Thank you, Slaes. You not only answered my question, but I have a bit more of an understanding of what is going on and how.

This is a large live site, so I am taking every step slowly. I am making several backups (270 MB each) every few hours.

Randy Prue
But on my Mac, a file that begins with "." is an invisible (hidden) file. It shows up in my FTP client as a hidden file, but it is there on the server. Is that a problem when this runs?

slaes
these file are located on your server and should have nothing to do with your mac. Make sure you activate "view hidden files" in your cpanel file manager if indeed using cpanel otherwise contact your host and ask them to activate it. Without this active you wont be able to see hidden files and believe me, you want to see all files on your server.

Randy Prue
Yes, I always see them (that is why I "see" them in the FTP client). I also see them in cpanel (like the htaccess files. I can always see them).

slaes
not sure dude, just change to .javascript.js and see what happens. should work fine, if not u can always go back easily :) good luck with it !

Randy Prue
I made that change already (there is no harm in having the duplicate file there). You have made me realize that the firewall actions are dynamic and mostly reversible, so this is good. I was thinking that the joomla stripper was a non-reversible and permanent change to code... I was imagining a directory somewhere getting renamed, shutting down some module.

I never use "joomla" when building a site. I remove it from as many places as I can get at. I find the level of promotion to be offensive, even with suppliers who are paid for their products and then hard-code their brand onto my site. It makes my customers think that I am giving them cheap stuff.

nicholas
Akeeba Staff
Manager
All of the protection rules (WAF and .htaccess Maker) are designed to be dynamic and reversible. It is my creed that no action should leave a permanent mark on your site unless you are explicitly forewarned. The only actions which do modify your site is changing the Super Administrator ID and the database collation. All other actions are reversible, even without access to Admin Tools.

Regarding Joomla!'s self-promotion, it's not half as bad as you describe it. Have you used Windows? You can't get rid of the countless references to Microsoft and the Windows logo sitting right there on your face on the Start menu. Same thing with Apple. Mac OS X puts you the Apple logo on the top left corner of your screen, no matter what. Other CMSs also follow that approach. Try building a site with Drupal, WordPress or any other CMS. Their name is always in the Generator tag and it's not always easy to replace it or turn it off :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Randy Prue
I just sat with the manual for a while. I have to go and work with a customer for a while.

The DB changes are what I will do next. I have done all the admin ID settings. So far, nothing has broken yet.

I also see the FTP access to disabling the firewall to get back in if you get locked out. Some internet service providers here will assign a new IP address after a power failure, so you would have to have a way back in.

For the branding, yes, noted. I do not want to name some of the components and modules that have plastered their brand onto my sites. I paid for these modules also... and I paid designers for CSS and graphics and to hunt down and remove the branding. One charges about $30 to remove their branding. That is after you have bought the thing.

user13380
@slaes,

Thanks for posting this was useful.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!