»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.htmlThis is a fixed format. Cloud Cloud uses the number in the link as the commodity code, which is one of thefive hundred and twenty-four billion sixty-seven million six hundred and sixty-nine thousand five hundred and fifty-eightIt'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