Previous Thread
Next Thread
Print Thread
Hop To
#209811 04/05/2008 12:29 AM
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
Can a small javascript be used in the default header of HTML includes that would be used on each forum page ?

If so if just adding the script code or is other HMTL requried to make it work ?

What would be different in instead adding the script to header insert or default footer when only javascript code is added ?

Thanks


JR
Team ZR-1 Corvette Racer's
Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
That hurts my head smile

You can add javascript to the header or header-insert or even footer box in the General Display section that will then work on every page in your forum.

Does that answer your question?


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
Thanks,
all worked out OK and javascript usd in header doing as I wanted in now prevents people copying our text or image content.

Too much of our techie content on forum was being copied and pasted to other forums and this now reduces our content being ripped off.


JR
Team ZR-1 Corvette Racer's
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

That "No rightclick" script only works in IE -- Firefox and Safari ignore it. wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Anyone who wants it will still be able to get it... I feel that if it's true techie content, they'll likely be easy to snag it...

All they do is anoy, easy to subvert... Many methods at that...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
Understood that this is not a 100% failsafe method but at the same time if it makes it harder for some then it has a use.

90 % of my users are using I.E and the popup informs them of copyright as I have found others taking our content and when caught claimed they had no idea content was copyrighted


JR
Team ZR-1 Corvette Racer's
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Bet you I could subvert it in IE and FireFox within a matter of moments wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
But Gizz... IF a person subverted it on purpose then they obviously demonstrated that they knew the image was copywritten. Does what it's supposed to do.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I'd imagine if they gave a crap they'd read a copyright notice in the footer as well wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2007
Posts: 286
T
enthusiast
enthusiast
T Offline
Joined: Jun 2007
Posts: 286
Originally Posted by Gizmo
Bet you I could subvert it in IE and FireFox within a matter of moments wink

This is not about hackers, it is the general user who knows mouseover and not much more.

IMHO, The forum software should have more protection of the forum's content


JR
Team ZR-1 Corvette Racer's
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Trust me, if Rick starts building in javascript to "protect" content and bloat the product, users will go elsewhere...

In my opinion, such tools are out of scope of forum software and better suited for 3rd party coding sites...

In any case, there will always be a way to subvert such tools, by more ways than just using other browsers, right clicking and pressing the space bar then letting go of the button, edit -> view source, etc etc etc.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
I have this in my TOS, "When posting photos please keep in mind that other users may cut and paste or copy your photo from the posting to show others."

If some one really wants it they will get it no matter what you do. If they can see it then they can get it.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)