CSS plagiarism checker [closed] - css

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I sell a theme for a well known php web script. The theme that I sell is only CSS, I wrote this CSS code and it's about 700 lines of code.
I'm starting to get the suspicion that people are illegally using my theme so my question is, is there a website where I can paste my CSS code and it will check other websites for the same CSS code?
For example, the website CopyScape.com will check websites for matching content, but not CSS.
If anyone can help, it would be great. Thanks!

The ability to search multiple websites for matching or similar code, is a little slow and can be faulted easily.. Say for example, if the css file is generated using PHP and is only visible on a valid / active session..
This would mask the use and ability for someone like google to index it anyway..
Generally people use callback type methods, Say for example... Some where hidden or hard to find... you would have a simple 1 pixel image that is actually a direct/absolute URL to your webserver.
When the image is requested, you have a server side language like PHP grab the requesting URL and log that while still returning the correct 1 pixel image so to them it does not seem obvious what is happening.
As long as somewhere in your template you have a link/script/image/iframe or some other means of requesting a file.. You can catch a few of these people easily..

Related

Is there a way to create a short link generator page like Bit.ly in Wordpress? I'm looking for resources, not free code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
I'm just seeking a place to start learning how to do this, as I haven't found anything yet aside from instructions on how to shorten links in WordPress. My goal is to create a page where visitors enter a link and we return a shortened link with tracking analytics, basically, a custom knock-off Bit.ly. I have done a lot of research but come up empty except for this question: Auto Link shorting via PHP&AJAX (bit.ly), which is unfortunately not quite what I'm looking for. This has to be done in WordPress, and I've read through dozens of WordPress forums with no luck yet. Obviously, a solution would be welcome, but I'm really just trying to find a place to start researching/learning how to do this (especially since I have no useful research yet to offer).
Thanks!
You can try URL Shortify – Simple, Powerful and Easy URL Shortener Plugin For WordPress.

Frameworks for dynamically managing images in-browser in .NET [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Let me first explain what I am trying to achieve... I would like to develop a website that offers some product. This product consists of multiple parts (for example, say a car). The user selects different parts and an image is generated dynamically to preview what the product would look like.
I know how to set the website up, manage database connections, and do all of that. My question is simple: Is there an existing framework that would help me to manage the manipulation of the images easily? My intention is to have separate images of each part and to overlay them in a determined fashion to develop the full product.
I think this would be possible with some fancy manipulation of the basic image controls, but I thought I would see if there was anything to make my job easier. I haven't done much with images in .NET so I don't really know what is available to me as of yet. I am experienced with images in C++ and C.
Note: This is only for research purposes, I am not developing this for any client or job. I just want to see how to do it. I am open to using regular .NET or MVC, depending on which would be most helpful for this.
Thank you for any help that you can offer.
You will need to create a full image of the car but have specific segments which you can identify through code. So your full image can be an "Image Sprite" and then you can show/hide specific chunks as the user is selecting/deselecting those segments. Here is an example that uses CSS to show specific parts of a full image. In that example, the images are separated using CSS, but you would not do that for your case. You would simply hide or show them.

Why do 404 pages include inline CSS [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I see that most 404 pages (in Html5BoilerPlate for instance) have their CSS included in the page's Html code inside a <style> tag instead of being linked from an external sheet. I'm pretty sure people do this on purpose and has some good reasons behind it but I can't get to figure out why they did this.
It's probably so you don't end up with another 404 trying to fetch an external stylesheet — which would be pretty ironic — and thus have an unstyled 404 page.
On a more serious note, you generally don't want any error pages incurring any additional HTTP requests, since they would be essentially a waste of server resources as well as bandwidth. Error pages are places you don't want users ending up, so you want to make sure they have as little impact on your server (and possibly others!) as possible.
This page is being served because something is missing or broken and the risk of the same issue not allowing the 404 page to load it's external css necessitates the inclusion of the styles in the page itself.
Not a required practice, but definitely a good idea.

Code Analysis for CSS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for automated tools to help me refactor a bunch of CSS files, for example:
Remove unnecessary selectors (e.g. not used inside the page)
detect repeatable rules inside several selectors and suggest a merge
Are there any such tools?
Thanks!
Yes Google Page Speed does this CSS investigation. Link:
http://code.google.com/speed/page-speed/docs/overview.html
not totally automated, but this one works well.
I like the fact that I can see what I'm changing. While I've done UI for 15 years, there's always little things that I notice myself repeating via using this tool. In the long run, doing things a bit manually is going to make me a better developer.
Doing one that looks for unnecessary selectors is a dangerous game. You could do it, but if you ever find yourself doing dynamic and/or ajax injected divs, you'll immediately blow up your page or app using an automated tool. If you do it, make sure it's not something that works on the fly, without some sort of very good testing environment to verify the resulting output. My current corporate clients would never allow me to use any sort of point-of-request tool based on their requirements of 100% tested and verified CSS.
This tool can do automatic css refactoring, though its value in project still need to evaluate carefully.

CSS editor recognize and index comments? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
A web page is usually consist of several areas, header, content, sidebar, footer, and can be more detailed, navigation, logo, slider, widgets...
I use comments to mark these areas in css file, as many others do. And used to scrolling or by search to locate the area while editing the css, it is slow and inconvenient especially when css file grows big.
Is there a css editor can recognize comments and produce an index table for quickly jump from one to another?
Netbeans has CSS selector jump support.
It indexes the CSS file you're working with and lets you choose which selector you want to jump to.
When you're editing HTML you can CTRL+click on the class or id to jump to the CSS rule that styles it (if there are several you get a list).
Here's an example:
Unfortunately, these Netbeans features will completely ignore your comments. I haven't come across a tool that does exactly what you're describing for CSS files.
If you were using a programming language you would probably use Javadoc-style comments, but these aren't typically used in CSS. You may be able to find a tool that will parse them and build an index anyway, but I'm afraid I can't suggest one.
Why not using separate css-files and then glue them in one file with ant? If you are using Eclipse - ant is already there. Or you can use ant as a command line tool.
Try it. You can perform other tasks with ant. For example you can minimize your .css or .js files as well.

Resources