Jump to content

Titan XP extension

Hello, i've this small chrome extension called "Titan XP" which will change all instances of the string "Titan X" to "Titan XP".

 

We all know the real name IS Titan XP and that nvidia simply made a typing error on release.

 

This extension can be found at: Titan XP

 

The simple code is: 

var elements = document.getElementsByTagName('*');

for (var i = 0; i < elements.length; i++) {
    var element = elements[i];

    for (var j = 0; j < element.childNodes.length; j++) {
        var node = element.childNodes[j];

        if (node.nodeType === 3) {
            var text = node.nodeValue;
            var replacedText = text.replace(/Titan X/gi, 'Titan XP');

            if (replacedText !== text) {
                element.replaceChild(document.createTextNode(replacedText), node);
            }
        }
    }
}

If you have any suggestions feel free to hit me up, or if you have a better logo/screenshots :)

 

//Frederik

Link to comment
Share on other sites

Link to post
Share on other sites

what about the original titan x tho........... this will be confusing :P

Stuff:  i7 7700k @ (dat nibba succ) | ASRock Z170M OC Formula | G.Skill TridentZ 3600 c16 | EKWB 1080 @ 2100 mhz  |  Acer X34 Predator | R4 | EVGA 1000 P2 | 1080mm Radiator Custom Loop | HD800 + Audio-GD NFB-11 | 850 Evo 1TB | 840 Pro 256GB | 3TB WD Blue | 2TB Barracuda

Hwbot: http://hwbot.org/user/lays/ 

FireStrike 980 ti @ 1800 Mhz http://hwbot.org/submission/3183338 http://www.3dmark.com/3dm/11574089

Link to comment
Share on other sites

Link to post
Share on other sites

idd, i dont see how we can solve this :/ maybe creation-date of the site will factor in?

Link to comment
Share on other sites

Link to post
Share on other sites

Thats the easy way for me at least :)

Link to comment
Share on other sites

Link to post
Share on other sites

Isn't the difference GeForce titan x and nvidia titan x? That could help in some cases.

You could try to search pascal on the page to see if it's the xp or x :)

Link to comment
Share on other sites

Link to post
Share on other sites

It changes the word 'Titan XP' to 'Titan XPP'...

 O.o

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, ItsNixx said:

It changes the word 'Titan XPP' to 'Titan XPPP'...

 O.o

I see, ill fix this later :)

Link to comment
Share on other sites

Link to post
Share on other sites

30 minutes ago, Frosbe said:

idd, i dont see how we can solve this :/ maybe creation-date of the site will factor in?

If the advertisers/marketers/sellers have any sense, they'll make a new page for the old Titan X, clone stuff over and use the old page for the new Titan XP. That way they'll fool Google and the kind. That'd mess up the idea of using the creation date as a factor. 

 

But at least currently and I believe that's how it was all along, the original Titan line was officially called GeForce GTX Titan and the new one is nVidia Titan. See here: http://www.geforce.com/hardware/desktop-gpus?keys=titan&field_gpu_series_value=All

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Naeaes said:

If the advertisers/marketers/sellers have any sense, they'll make a new page for the old Titan XP, clone stuff over and use the old page for the new Titan XPP. That way they'll fool Google and the kind. That'd mess up the idea of using the creation date as a factor. 

 

But at least currently and I believe that's how it was all along, the original Titan line was officially called GeForce GTX Titan and the new one is nVidia Titan. See here: http://www.geforce.com/hardware/desktop-gpus?keys=titan&field_gpu_series_value=All

Good thinking, ill look into it!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×