Taobao sellers quickly open Alibaba product link bookmarks

» Technical toss » Taobao sellers quickly open Alibaba product link bookmarks

As a seller on Taobao, it is estimated that many people are worried about how to code products, Yunluo's suggestions to other sellers and some small technologies

淘宝卖家快速打开阿里巴巴产品链接小书签-极客公园

preface

At present, Yunluo is doing Taobao, and sometimes it still finds some inconvenient places, such as how to code a product today. Because Yunluo's products are mainly purchased from Alibaba, it directly uses the Alibaba product link as the product code. Take a look at an Alibaba product link, for example: http://detail.1688.com/offer/524067669558.html This is a fixed format. Cloud Cloud uses the number in the link as the commodity code, which is one of the five hundred and twenty-four billion sixty-seven million six hundred and sixty-nine thousand five hundred and fifty-eight It's easy to open the link, just change the number, but you need to open an Alibaba product link every time, and then change the number part. This is not advisable for Yunluo. Considering the unified format, you can use js directly, which is the protagonist of today's article: small bookmarks!

code

 javascript: Detail=prompt ("Please enter the product number", "such as 524067669558"); if (detail !=  null){ var url=" http://detail.1688.com/offer/ " + detail +".html"; window.open(url,"_blank"); }else{ Alert ("You canceled this query"); } void 0

It's a simple piece of code. You can understand some basic codes. First, run the code. A small window will pop up and an input box will pop up. This input box is used to enter numbers. You can enter the commodity code
Then, if you enter a number and confirm, you will go to the product link of this number. If you click Cancel, a reminder pop-up window will pop up.
The following code is compressed

 Javascript: detail=prompt ("Please enter the product number", "such as 524067669558"); if(detail!= null){var url=" http://detail.1688.com/offer/ "+detail+".html";window.open(url,"_blank");} Else {alert ("You canceled this query");} void 0

--End--

Post reply

Your email address will not be disclosed. Required items have been used * tagging